共用方式為


GetEnumerator 方法

Gets an Enumerator for iterating through the collection.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.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