Utf16StringMarshaller.ConvertToManaged(UInt16*) 方法

定义

将非托管字符串转换为托管版本。

public:
 static System::String ^ ConvertToManaged(System::UInt16* unmanaged);
public static string? ConvertToManaged (ushort* unmanaged);
static member ConvertToManaged : nativeptr<uint16> -> string

参数

unmanaged
UInt16*

要转换的非托管字符串。

返回

托管字符串。

适用于