System::Runtime::InteropServices::Marshal::ZeroFreeGlobalAllocUnicode 方法

Marshal::ZeroFreeGlobalAllocUnicode method

释放使用 SecureStringToGlobalAllocUnicode 方法分配的非托管字符串指针。

static void System::Runtime::InteropServices::Marshal::ZeroFreeGlobalAllocUnicode(IntPtr s)
参数类型描述
sIntPtr指向非托管字符串的指针。

另见