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