System.Security.Permissions.KeyContainerPermissionAccessEntryEnumerator.Reset Method

Resets the enumerator to the beginning of the collection.


public void Reset ()


An enumerator moves in a forward-only direction. Use this method to return to the beginning of the collection.

The KeyContainerPermissionAccessEntryEnumerator.Reset method positions the cursor at the first object in the collection. After calling KeyContainerPermissionAccessEntryEnumerator.Reset, you do not need to call KeyContainerPermissionAccessEntryEnumerator.MoveNext to move the cursor forward to the first object.


Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0