Copies all or part of a string, stored in native heap, to a managed String object.
Copies a specified number of characters from a string, stored in native heap, to a managed String object. Widens each ASCII character to UNICODE, if required. (If current platform is UNICODE, calls to PtrToStringUni else calls PtrToStringAnsi)
[Visual Basic] Overloads Public Shared Function PtrToStringAuto(Integer, Integer) As String
[C#] public static string PtrToStringAuto(int, int);
[C++] public: static String* PtrToStringAuto(int, int);
[JScript] public static function PtrToStringAuto(int, int) : String;
Copies a string, stored in native heap, to a managed String object. Automatically widens each ASCII character to UNICODE, if required. (If current platform is UNICODE, calls to PtrToStringUni else calls PtrToStringAnsi)
[Visual Basic] Overloads Public Shared Function PtrToStringAuto(Integer) As String
[C#] public static string PtrToStringAuto(int);
[C++] public: static String* PtrToStringAuto(int);
[JScript] public static function PtrToStringAuto(int) : String;
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace