CryptographicAttributeObjectCollection.Add Methode

Definition

Fügt der Auflistung ein Objekt hinzu.

Überlädt

Name Beschreibung
Add(AsnEncodedData)

Fügt das angegebene AsnEncodedData Objekt der Auflistung hinzu.

Add(CryptographicAttributeObject)

Fügt das angegebene CryptographicAttributeObject Objekt der Auflistung hinzu.

Add(AsnEncodedData)

Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs

Fügt das angegebene AsnEncodedData Objekt der Auflistung hinzu.

public:
 int Add(System::Security::Cryptography::AsnEncodedData ^ asnEncodedData);
public int Add(System.Security.Cryptography.AsnEncodedData asnEncodedData);
member this.Add : System.Security.Cryptography.AsnEncodedData -> int
Public Function Add (asnEncodedData As AsnEncodedData) As Integer

Parameter

asnEncodedData
AsnEncodedData

Das AsnEncodedData Objekt, das der Auflistung hinzugefügt werden soll.

Gibt zurück

truewenn die Methode den nullbasierten Index des hinzugefügten Elements zurückgibt; andernfalls . false

Ausnahmen

asnEncodedData ist null.

Ein kryptografischer Vorgang konnte nicht abgeschlossen werden.

Weitere Informationen

Gilt für:

Add(CryptographicAttributeObject)

Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs
Quelle:
CryptographicAttributeObjectCollection.cs

Fügt das angegebene CryptographicAttributeObject Objekt der Auflistung hinzu.

public:
 int Add(System::Security::Cryptography::CryptographicAttributeObject ^ attribute);
public int Add(System.Security.Cryptography.CryptographicAttributeObject attribute);
member this.Add : System.Security.Cryptography.CryptographicAttributeObject -> int
Public Function Add (attribute As CryptographicAttributeObject) As Integer

Parameter

attribute
CryptographicAttributeObject

Das CryptographicAttributeObject Objekt, das der Auflistung hinzugefügt werden soll.

Gibt zurück

truewenn die Methode den nullbasierten Index des hinzugefügten Elements zurückgibt; andernfalls . false

Ausnahmen

Ein kryptografischer Vorgang konnte nicht abgeschlossen werden.

Das angegebene Element ist bereits in der Auflistung vorhanden.

Beispiele

Remove

Weitere Informationen

Gilt für: