ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DXUtil Class / PtrToStringUni Method
The pointer to an Unicode null string.
Maximum length of the string.

In This Topic
    PtrToStringUni Method
    In This Topic
    Converts a pointer to a null-terminating string up to maxLength characters to a .Net string.
    Syntax
    'Declaration
     
    Public Shared Function PtrToStringUni( _
       ByVal pointer As System.IntPtr, _
       ByVal maxLength As System.Integer _
    ) As System.String
    public static System.string PtrToStringUni( 
       System.IntPtr pointer,
       System.int maxLength
    )

    Parameters

    pointer
    The pointer to an Unicode null string.
    maxLength
    Maximum length of the string.

    Return Value

    The converted string.
    See Also