Share via


SetEnumerator.Movenext Method

Definition

Determines whether the enumerator denotes a valid set element.

public:
 virtual bool Movenext();
public bool Movenext ();
abstract member Movenext : unit -> bool
override this.Movenext : unit -> bool
Public Function Movenext () As Boolean

Returns

true if the current position in the set holds a valid element; otherwise, false.

Implements

Remarks

Set enumerators start before the first element in the set. You must call the moveNext method to make it point to the first element in the set.

Applies to