X509ChainElementEnumerator.MoveNext Method

Advances the enumerator to the next element in the X509ChainElementCollection.

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

public bool MoveNext ()
public final boolean MoveNext ()
public final function MoveNext () : boolean
Not applicable.

Return Value

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

Exception typeCondition


The collection was modified after the enumerator was created.

This method advances the enumerator to the next element in the collection. The X509ChainElementEnumerator class inherits from IEnumerator; see this class for more information on using enumerators.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions