共用方式為


GetEnumerator 方法

Gets an Enumerator for iterating through the collection.

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

語法

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

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