Bewerken

Delen via


X509CertificateCollection.X509CertificateEnumerator.MoveNext Method

Definition

Advances the enumerator to the next element of the collection.

public:
 bool MoveNext();
public bool MoveNext ();
member this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean

Returns

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

Exceptions

The collection was modified after the enumerator was instantiated.

Remarks

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

Applies to