Export (0) Print
Expand All

X509CertificateCollection Methods

The methods of the X509CertificateCollection class are listed here. For a complete list of X509CertificateCollection class members, see the X509CertificateCollection Members topic.

Public Methods

public methodAdd Adds an X509Certificate with the specified value to the current X509CertificateCollection.
public methodAddRange Overloaded. Copies the elements of an array of type X509Certificate into the current X509CertificateCollection.
public methodClear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
public methodContains Gets a value indicating whether the current X509CertificateCollection contains the specified X509Certificate.
public methodCopyTo Copies the X509Certificate values in the current X509CertificateCollection to a one-dimensional Array instance at the specified index.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns an enumerator that can iterate through the X509CertificateCollection.
public methodGetHashCode Overridden. Builds a hash value based on all values contained in the current X509CertificateCollection.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIndexOf Returns the index of the specified X509Certificate in the current X509CertificateCollection.
public methodInsert Inserts a X509Certificate into the current X509CertificateCollection at the specified index.
public methodRemove Removes a specific X509Certificate from the current X509CertificateCollection.
public methodRemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnClear (inherited from CollectionBase) Performs additional custom processes when clearing the contents of the CollectionBase instance.
protected methodOnClearComplete (inherited from CollectionBase) Performs additional custom processes after clearing the contents of the CollectionBase instance.
protected methodOnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
protected methodOnInsertComplete (inherited from CollectionBase) Performs additional custom processes after inserting a new element into the CollectionBase instance.
protected methodOnRemove (inherited from CollectionBase) Performs additional custom processes when removing an element from the CollectionBase instance.
protected methodOnRemoveComplete (inherited from CollectionBase) Performs additional custom processes after removing an element from the CollectionBase instance.
protected methodOnSet (inherited from CollectionBase) Performs additional custom processes before setting a value in the CollectionBase instance.
protected methodOnSetComplete (inherited from CollectionBase) Performs additional custom processes after setting a value in the CollectionBase instance.
protected methodOnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

X509CertificateCollection Class | System.Security.Cryptography.X509Certificates Namespace

Show:
© 2014 Microsoft