NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshal.PtrToStringUni

Copies part or all of a UNICODE string, stored in native heap, to a managed String object.

Overload List

Copies a specified number of characters from a UNICODE string, stored in native heap, to a managed String object.

[Visual Basic] Overloads Public Shared Function PtrToStringUni(Integer, Integer) As String
[C#] public static string PtrToStringUni(int, int);
[C++] public: static String* PtrToStringUni(int, int);
[JScript] public static function PtrToStringUni(int, int) : String;

Copies a UNICODE string, stored in native heap, to a managed String object.

[Visual Basic] Overloads Public Shared Function PtrToStringUni(Integer) As String
[C#] public static string PtrToStringUni(int);
[C++] public: static String* PtrToStringUni(int);
[JScript] public static function PtrToStringUni(int) : String;

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace