共用方式為


ChartObjectCollectionBase<T, U>.GetEnumerator 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets an enumerator that iterates through the collection.

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Function GetEnumerator As IEnumerator(Of T)
'用途
Dim instance As ChartObjectCollectionBase 
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator()
public IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<'T> 
override GetEnumerator : unit -> IEnumerator<'T> 
public final function GetEnumerator() : IEnumerator<T>

傳回值

型別:System.Collections.Generic.IEnumerator<T>
An IEnumerator<T> object that can be used to enumerate through the collection.

實作

IEnumerable<T>.GetEnumerator()

請參閱

參考

ChartObjectCollectionBase<T, U> 類別

Microsoft.ReportingServices.OnDemandReportRendering 命名空間