GetEnumerator 方法
Gets an enumerator that can iterate through the list of objects.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function GetEnumerator As IEnumerator(Of DependencyCollectionNode)
'用途
Dim instance As DependencyCollection
Dim returnValue As IEnumerator(Of DependencyCollectionNode)
returnValue = instance.GetEnumerator()
public IEnumerator<DependencyCollectionNode> GetEnumerator()
public:
virtual IEnumerator<DependencyCollectionNode^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<DependencyCollectionNode>
override GetEnumerator : unit -> IEnumerator<DependencyCollectionNode>
public final function GetEnumerator() : IEnumerator<DependencyCollectionNode>
傳回值
型別:System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'DependencyCollectionNode> ) > ) >
An IEnumerator object value that can be used to iterate through the collection.
實作
IEnumerable< (Of < ( <'T> ) > ) >. . :: . .GetEnumerator() () () ()