Utf16StringMarshaller.Free(UInt16*) 方法

定义

释放非托管字符串的内存。

public:
 static void Free(System::UInt16* unmanaged);
public static void Free (ushort* unmanaged);
static member Free : nativeptr<uint16> -> unit

参数

unmanaged
UInt16*

为非托管字符串分配的内存。

适用于