System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocAnsi 方法
Marshal::SecureStringToGlobalAllocAnsi method
将指定安全字符串的内容复制到非托管内存,并转换为 ANSI 格式。
static IntPtr System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocAnsi(const SharedPtr<Security::SecureString> &s)
| Parameter | Type | 描述 |
|---|---|---|
| s | const SharedPtr<Security::SecureString>& | 安全字符串。 |
ReturnValue
非托管内存中的地址。
另见
- Typedef SharedPtr
- Class SecureString
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Page for C++