X509ChainElementCollection.GetEnumerator Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.X509ChainElementEnumeratorPublic Function GetEnumerator () As X509ChainElementEnumeratorReturns
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.