CngProperty 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CngProperty(String, Byte[], CngPropertyOptions) |
初始化 结构的新实例 CngProperty 。 |
| CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions) |
CngProperty(String, Byte[], CngPropertyOptions)
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
初始化 结构的新实例 CngProperty 。
public:
CngProperty(System::String ^ name, cli::array <System::Byte> ^ value, System::Security::Cryptography::CngPropertyOptions options);
public CngProperty(string name, byte[]? value, System.Security.Cryptography.CngPropertyOptions options);
public CngProperty(string name, byte[] value, System.Security.Cryptography.CngPropertyOptions options);
new System.Security.Cryptography.CngProperty : string * byte[] * System.Security.Cryptography.CngPropertyOptions -> System.Security.Cryptography.CngProperty
Public Sub New (name As String, value As Byte(), options As CngPropertyOptions)
参数
- name
- String
要初始化的属性名称。
- value
- Byte[]
要初始化的属性值。
- options
- CngPropertyOptions
枚举值的按位组合,指定属性的存储方式。
例外
name 是 null。
注解
使用特定标志集 CngPropertyOptions 存储的属性在检索时需要相同的标志集。
适用于
CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)
- Source:
- CngProperty.cs
public:
CngProperty(System::String ^ name, ReadOnlySpan<System::Byte> value, System::Security::Cryptography::CngPropertyOptions options);
public CngProperty(string name, ReadOnlySpan<byte> value, System.Security.Cryptography.CngPropertyOptions options);
new System.Security.Cryptography.CngProperty : string * ReadOnlySpan<byte> * System.Security.Cryptography.CngPropertyOptions -> System.Security.Cryptography.CngProperty
Public Sub New (name As String, value As ReadOnlySpan(Of Byte), options As CngPropertyOptions)
参数
- name
- String
- value
- ReadOnlySpan<Byte>
- options
- CngPropertyOptions