Επεξεργασία

Κοινή χρήση μέσω


KeyContainerPermissionAccessEntryEnumerator.MoveNext Method

Definition

Moves to the next element in the collection.

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 enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Implements

Remarks

The MoveNext method returns false immediately if there are no objects in the collection.

MoveNext returns true until it has reached the end of the collection. It then returns false for each successive call. However, once MoveNext has returned false, accessing the Current property throws an exception.

Upon creation, an enumerator is positioned before the first KeyContainerPermissionAccessEntry object in the collection, and the first call to MoveNext positions the enumerator to the first object in the collection.

Applies to