共用方式為


GetEnumerator 方法

Gets an Enumerator for iterating through the collection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function GetEnumerator As NamedSetCollection..::..Enumerator
'用途
Dim instance As NamedSetCollection
Dim returnValue As NamedSetCollection..::..Enumerator

returnValue = instance.GetEnumerator()
public NamedSetCollection..::..Enumerator GetEnumerator()
public:
NamedSetCollection..::..Enumerator GetEnumerator()
member GetEnumerator : unit -> NamedSetCollection..::..Enumerator 
public function GetEnumerator() : NamedSetCollection..::..Enumerator