Share via


HierarchyCollection.GetEnumerator Method

Gets an Enumerator for iterating through the collection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetEnumerator As HierarchyCollection..::..Enumerator
'Usage
Dim instance As HierarchyCollection
Dim returnValue As HierarchyCollection..::..Enumerator

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