[]
Copies the contents of a managed String into unmanaged memory, converting into ANSI format as it copies.
public static IntPtr StringToHGlobalAnsi(string s)
| Type | Name | Description |
|---|---|---|
| string | s | A managed string to be copied. |
| Type | Description |
|---|---|
| IntPtr | The address, in unmanaged memory, to where s was copied, or IntPtr.Zero if s is null. |