System.Security.Cryptography.AsnEncodedDataEnumerator.Reset Method

Sets an enumerator to its initial position.

Syntax

public void Reset ()

Remarks

The initial position of an enumerator is before the first element in the System.Security.Cryptography.AsnEncodedDataCollection object. 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 becomes invalid, and the next call to the AsnEncodedDataEnumerator.Reset method throws an InvalidOperationException.

Requirements

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