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 特定旗標儲存的屬性在擷取時需要相同的旗標集。

適用於