## Marshal::SecureStringToGlobalAllocUnicode method


将指定安全字符串的内容复制到非托管内存。

```cpp
static IntPtr System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocUnicode(const SharedPtr<Security::SecureString> &s)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| s | const SharedPtr\<Security::SecureString\>\& | 安全字符串。 |

### ReturnValue

非托管内存中的地址。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SecureString](../../../system.security/securestring/)
* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
