CngProperty Constructors

Definitie

Overloads

CngProperty(String, Byte[], CngPropertyOptions)

Bron:
CngProperty.cs
Bron:
CngProperty.cs
Bron:
CngProperty.cs
Bron:
CngProperty.cs
Bron:
CngProperty.cs

Initialiseert een nieuw exemplaar van de CngProperty struct.

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)

Parameters

name
String

De naam van de eigenschap die moet worden geïnitialiseerd.

value
Byte[]

De eigenschapswaarde die moet worden geïnitialiseerd.

options
CngPropertyOptions

Een bitsgewijze combinatie van de opsommingswaarden die aangeven hoe de eigenschap wordt opgeslagen.

Uitzonderingen

name is null.

Opmerkingen

Eigenschappen die zijn opgeslagen met een specifieke set CngPropertyOptions vlaggen, vereisen dezelfde set vlaggen wanneer ze worden opgehaald.

Van toepassing op

CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)

Bron:
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)

Parameters

name
String

Van toepassing op