X509ChainElementCollection.GetEnumerator Method

Definition

Gets an X509ChainElementEnumerator object that can be used to navigate through a collection of chain elements.

public:
 System::Security::Cryptography::X509Certificates::X509ChainElementEnumerator ^ GetEnumerator();
public System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator GetEnumerator ();
member this.GetEnumerator : unit -> System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator
Public Function GetEnumerator () As X509ChainElementEnumerator

Returns

An X509ChainElementEnumerator object.

Remarks

The X509ChainElementEnumerator class implements IEnumerator, which enables you to use methods such as Current, MoveNext and Reset to view the contents of the collection.

Applies to