MoveNext Method
Collapse the table of content
Expand the table of content

X509ExtensionEnumerator.MoveNext Method ()

 

Advances the enumerator to the next element in the X509ExtensionCollection.

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

public bool MoveNext()

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. This class inherits from the IEnumerator interface. For more information about enumerating over a collection, see the IEnumerator topic.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft