KeyInfo.GetEnumerator 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 KeyInfo 对象中 KeyInfoClause 对象的枚举器。
重载
| GetEnumerator() | 返回 KeyInfo 对象中 KeyInfoClause 对象的枚举器。 | 
| GetEnumerator(Type) | 返回 KeyInfo 对象中指定类型的 KeyInfoClause 对象的枚举器。 | 
GetEnumerator()
- Source:
- KeyInfo.cs
- Source:
- KeyInfo.cs
- Source:
- KeyInfo.cs
返回 KeyInfo 对象中 KeyInfoClause 对象的枚举器。
public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();public System.Collections.IEnumerator GetEnumerator ();abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumeratorPublic Function GetEnumerator () As IEnumerator返回
可用于循环访问集合的 KeyInfo 的子元素的枚举器。
实现
注解
同时从同一集合中提取的两个枚举器不一定需要返回相同的迭代。
最初,枚举器必须定位在集合的第一个元素之前,并且必须在使用前由实现的调用方推进。
适用于
GetEnumerator(Type)
- Source:
- KeyInfo.cs
- Source:
- KeyInfo.cs
- Source:
- KeyInfo.cs
返回 KeyInfo 对象中指定类型的 KeyInfoClause 对象的枚举器。
public:
 System::Collections::IEnumerator ^ GetEnumerator(Type ^ requestedObjectType);public System.Collections.IEnumerator GetEnumerator (Type requestedObjectType);member this.GetEnumerator : Type -> System.Collections.IEnumeratorPublic Function GetEnumerator (requestedObjectType As Type) As IEnumerator参数
- requestedObjectType
- Type
要枚举的对象类型。
返回
可用于循环访问集合的 KeyInfo 的子元素的枚举器。
注解
同时从同一集合中提取的两个枚举器不一定需要返回相同的迭代。
最初,枚举器必须定位在集合的第一个元素之前,并且必须在使用前由实现的调用方推进。