ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DXUtil Class / StringToHGlobalUni Method
A managed string to be copied.

In This Topic
    StringToHGlobalUni Method
    In This Topic
    Copies the contents of a managed String into unmanaged memory.
    Syntax
    'Declaration
     
    Public Shared Function StringToHGlobalUni( _
       ByVal s As String _
    ) As IntPtr
    public static IntPtr StringToHGlobalUni( 
       string s
    )

    Parameters

    s
    A managed string to be copied.

    Return Value

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