Bearbeiten

Freigeben über


X509Certificate2Enumerator.MoveNext Method

Definition

Advances the enumerator to the next element in the X509Certificate2Collection object.

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

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