共用方式為


GetEnumerator 方法

Gets an IEnumerator interface for iterating through the collection.

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

語法

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

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

傳回值

型別:Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdDataReader. . :: . .Enumerator
An IEnumerator interface for iterating through the collection.

備註

For more information about this interface, see System.Collections..::..IEnumerator.