Marshal.PtrToStringAnsi Method (IntPtr, Int32)
Allocates a managed String, copies a specified number of characters from an unmanaged ANSI string into it, and widens each ANSI character to Unicode.
Assembly: mscorlib (in mscorlib.dll)
'Declaration <SecurityCriticalAttribute> _ Public Shared Function PtrToStringAnsi ( _ ptr As IntPtr, _ len As Integer _ ) As String
- Type: System.IntPtr
The address of the first character of the unmanaged string.
- Type: System.Int32
The byte count of the input string to copy.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.