Why is there an 'S' at the beginning of a filepath in the example on MSDN? I know that you can use a '@' but what does the 'S' do?
Bitmap(S"D:\\Documents and Settings\\Joe\\Pics\\myPic.bmp");
It's a sample for C++/CLI, not C#. And S"" in C++/CLI means that this is managed string literal.
Check http://msdn.microsoft.com/en-us/library/ms235263.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With