EntryPointEnumerator.Reset Method (2003 System)

Sets the enumerator to its initial position, which is before the first EntryPoint in the collection.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public Sub Reset
'Usage
Dim instance As EntryPointEnumerator

instance.Reset()
public void Reset()

Implements

IEnumerator.Reset()

Exceptions

Exception Condition
InvalidOperationException

The collection was modified after the enumerator was created.

Remarks

An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and the next call to MoveNext or Reset throws an InvalidOperationException.

Permissions

See Also

Reference

EntryPointEnumerator Class

EntryPointEnumerator Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace