## SecureStringMarshal::SecureStringToGlobalAllocUnicode method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| s | const SharedPtr\\<Security::SecureString\\>\\& | 安全字符串。 |

### ReturnValue

非托管内存中的地址。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SecureString](../../securestring/)
* Class [SecureStringMarshal](../)
* Namespace [System::Security](../../)
* Library [Aspose.Font for C++](../../../)
