共用方式為


GetEnumerator 方法

Gets an instance of the Enumerator class for iterating through the collection.

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

語法

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

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