X509Certificate2Enumerator.MoveNext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.