Редагувати

Поділитися через


ApplicationTrustEnumerator.MoveNext Method

Definition

Moves to the next element in the ApplicationTrustCollection 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 immediately returns false if there are no objects in the collection.

MoveNext will return true until it has reached the end of the collection. It will then return false for each successive call. However, after MoveNext has returned false, accessing the Current property will throw an exception.

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

Applies to