DbConnectionStringBuilder.IEnumerable.GetEnumerator Method

Definition

返回循环访问集合的枚举器。Returns an enumerator that iterates through a collection.

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

Returns

IEnumerator

可用于遍历集合的一个 IEnumerator 对象。An IEnumerator object that can be used to iterate through the collection.

Implements

Remarks

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 IEnumerable 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an IEnumerable interface.

有关此成员的说明,请参见 GetEnumeratorFor a description of this member, see GetEnumerator.

Applies to

See also