System.Security.Permissions.KeyContainerPermissionAccessEntryEnumerator.Reset Method

Resets the enumerator to the beginning of the collection.

Syntax

public void Reset ()

Remarks

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.

Requirements

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