LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
MoveNext Method
See Also 
Leadtools.Multimedia Namespace > CaptureSubTypes Class : MoveNext Method



Advances the enumerator to the next element of the collection.

Syntax

Visual Basic (Declaration) 
Public Function MoveNext() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CaptureSubTypes
Dim value As Boolean
 
value = instance.MoveNext()
C# 
public bool MoveNext()
C++/CLI 
public:
bool MoveNext(); 

Return Value

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

Remarks

After an enumerator is created or after the Reset method is called, an enumerator is positioned before the first element of the collection, and the first call to the MoveNext method moves the enumerator over the first element of the collection. If MoveNext passes the end of the collection, the enumerator is positioned after the last element in the collection and MoveNext returns false. When the enumerator is at this position, subsequent calls to MoveNext also return false until the Reset method is called.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also