Marshal::PtrToStringUni Method
.NET Framework (current version)
Allocates a managed String and copies all or part of an unmanaged Unicode string into it.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | PtrToStringUni(IntPtr) | Allocates a managed String and copies all characters up to the first null character from an unmanaged Unicode string into it. |
![]() ![]() | PtrToStringUni(IntPtr, Int32) | Allocates a managed String and copies a specified number of characters from an unmanaged Unicode string into it. |
Show:

