Export (0) Print
Expand All

Marshal.PtrToStringAuto Method

Allocates a managed String and copies a specified number of characters from an unmanaged string into it.

Name Description
Marshal.PtrToStringAuto (IntPtr) Allocates a managed String and copies all characters up to the first null character from a string stored in unmanaged memory into it.
Marshal.PtrToStringAuto (IntPtr, Int32) Copies a specified number of characters from a string stored in unmanaged memory to a managed String.

Community Additions

ADD
Show:
© 2014 Microsoft