CngProperty(String, Byte[], CngPropertyOptions) 构造函数

定义

初始化 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

指定如何存储属性的枚举值的按位组合。

例外

namenull

注解

使用一组 CngPropertyOptions 特定标志存储的属性在检索时需要相同的标志集。

适用于