[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.StringToHGlobalUni

StringToHGlobalUni Method

StringToHGlobalUni(string)

Copies the contents of a managed String into unmanaged memory.

Declaration
public static IntPtr StringToHGlobalUni(string s)
Parameters
Type Name Description
string s

A managed string to be copied.

Returns
Type Description
IntPtr

The address, in unmanaged memory, to where s was copied, or IntPtr.Zero if s is null.