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 As System.IntPtr, _
ByVal As System.Integer _
) As System.String
public static System.string PtrToStringUni(
System.IntPtr ,
System.int
)
Parameters
- pointer
- The pointer to an Unicode null string.
- maxLength
- Maximum length of the string.
Return Value
The converted string.
See Also