共用方式為


GetEnumerator 方法

Returns an IEnumerator for an IDTSComponentMetaDataCollection100 collection.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function GetEnumerator As IEnumerator
'用途
Dim instance As IDTSComponentMetaDataCollection100
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
IEnumerator GetEnumerator()
IEnumerator^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator 
function GetEnumerator() : IEnumerator

傳回值

型別:System.Collections. . :: . .IEnumerator
An IEnumerator object that can be used to iterate the collection of IDTSComponentMetaData100 objects.

實作

IEnumerable. . :: . .GetEnumerator() () () ()