X509ChainElementEnumerator::MoveNext Method ()

 

Advances the enumerator to the next element in the X509ChainElementCollection.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

public:
virtual bool MoveNext() sealed

Return Value

Type: System::Boolean

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Exception Condition
InvalidOperationException

The collection was modified after the enumerator was created.

This method advances the enumerator to the next element in the collection. The X509ChainElementEnumerator class inherits from IEnumerator; see this class for more information on using enumerators.

.NET Framework
Available since 2.0
Return to top
Show: