ReadOnlyList<T>.GetEnumerator 方法
Returns an enumerator that iterates through the list.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Function GetEnumerator As IEnumerator(Of T)
用法
Dim instance As ReadOnlyList
Dim returnValue As IEnumerator(Of T)
returnValue = instance.GetEnumerator()
public IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<'T>
override GetEnumerator : unit -> IEnumerator<'T>
public final function GetEnumerator() : IEnumerator<T>
返回值
类型:System.Collections.Generic.IEnumerator<T>
An enumerator that iterates through the list.
实现
IEnumerable<T>.GetEnumerator()