SecureStringMarshal.SecureStringToGlobalAllocUnicode(SecureString) 方法       
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将托管 SecureString 对象的内容复制到非托管内存中。
public:
 static IntPtr SecureStringToGlobalAllocUnicode(System::Security::SecureString ^ s);public static IntPtr SecureStringToGlobalAllocUnicode (System.Security.SecureString s);static member SecureStringToGlobalAllocUnicode : System.Security.SecureString -> nativeintPublic Shared Function SecureStringToGlobalAllocUnicode (s As SecureString) As IntPtr参数
要复制的托管对象。
返回
- 
			
			IntPtr
nativeint 
非托管内存中复制 s 的地址,如果 s 是长度为 0 的 SecureString 对象,则为 0。
例外
s 参数为 null。
没有足够的可用内存。