X509CertificateCollection.X509CertificateEnumerator.MoveNext Method ()

 

Advances the enumerator to the next element of the collection.

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 instantiated.

This method advances the enumerator to the next element in the collection. For more information about enumerating over a collection, see the IEnumerator topic.

.NET Framework
Available since 1.1
Return to top
Show: