System::Runtime::InteropServices::Marshal::ZeroFreeGlobalAllocAnsi 方法

Marshal::ZeroFreeGlobalAllocAnsi method

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

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

另见