System.Security.Cryptography.Xml.KeyInfo.GetEnumerator Method

Returns an enumerator of the System.Security.Cryptography.Xml.KeyInfoClause objects in the System.Security.Cryptography.Xml.KeyInfo object.

Syntax

public IEnumerator GetEnumerator ()

Returns

An enumerator of the subelements of System.Security.Cryptography.Xml.KeyInfo that can be used to iterate through the collection.

Remarks

Two enumerators taken from the same collection at the same time are not necessarily required to return the same iteration.

Initially, the enumerator must be positioned before the first element of the collection and must be advanced by the caller of the implementation before use.

Requirements

Namespace: System.Security.Cryptography.Xml
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0