Editar

Partilhar via


KeyInfo.GetEnumerator Method

Definition

Returns an enumerator of the KeyInfoClause objects in the KeyInfo object.

Overloads

GetEnumerator()

Returns an enumerator of the KeyInfoClause objects in the KeyInfo object.

GetEnumerator(Type)

Returns an enumerator of the KeyInfoClause objects of the specified type in the KeyInfo object.

GetEnumerator()

Source:
KeyInfo.cs
Source:
KeyInfo.cs
Source:
KeyInfo.cs
Source:
KeyInfo.cs
Source:
KeyInfo.cs

Returns an enumerator of the KeyInfoClause objects in the KeyInfo object.

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

An enumerator of the subelements of KeyInfo that can be used to iterate through the collection.

Implements

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.

Applies to

GetEnumerator(Type)

Source:
KeyInfo.cs
Source:
KeyInfo.cs
Source:
KeyInfo.cs
Source:
KeyInfo.cs
Source:
KeyInfo.cs

Returns an enumerator of the KeyInfoClause objects of the specified type in the KeyInfo object.

public:
 System::Collections::IEnumerator ^ GetEnumerator(Type ^ requestedObjectType);
public System.Collections.IEnumerator GetEnumerator (Type requestedObjectType);
member this.GetEnumerator : Type -> System.Collections.IEnumerator
Public Function GetEnumerator (requestedObjectType As Type) As IEnumerator

Parameters

requestedObjectType
Type

The type of object to enumerate.

Returns

An enumerator of the subelements of 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.

Applies to