ApplicationTrustEnumerator.MoveNext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.