DependencyCollection.IEnumerable.GetEnumerator 方法
Returns an IEnumerator interface that is required to iterate through a collection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
用法
Dim instance As DependencyCollection
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator
private override GetEnumerator : unit -> IEnumerator
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
返回值
类型:System.Collections.IEnumerator
Returns an IEnumerator interface that is required to iterate through a collection.