語言

ChartObjectCollectionBase<T,U> 類別

定義

代表一組圖表物件的基底類別。

generic <typename T, typename U>
 where T : ChartObjectCollectionItem<U> where U : BaseInstancepublic ref class ChartObjectCollectionBase abstract : System::Collections::Generic::IEnumerable<T>
public abstract class ChartObjectCollectionBase<T,U> : System.Collections.Generic.IEnumerable<T> where T : ChartObjectCollectionItem<U> where U : BaseInstance
type ChartObjectCollectionBase<'T, 'U (requires 'T :> ChartObjectCollectionItem<'U> and 'U :> BaseInstance)> = class
    interface seq<'T (requires 'T :> ChartObjectCollectionItem<'U>)>
    interface IEnumerable
Public MustInherit Class ChartObjectCollectionBase(Of T, U)
Implements IEnumerable(Of T)

類型參數

T

收藏基地中物品的類型。

U

圖表物件項目的類型。

繼承
ChartObjectCollectionBase<T,U>
衍生
實作

建構函式

名稱 Description
ChartObjectCollectionBase<T,U>()

初始化 ChartObjectCollectionBase<T,U> 類別的新執行個體。

屬性

名稱 Description
Count

取得集合中的項目數目。

Item[Int32]

透過索引取得收藏中的項目。

方法

名稱 Description
CreateChartObject(Int32)

在指定的索引處建立一個圖表物件。

GetEnumerator()

它會有一個列舉器來遍歷集合。

明確介面實作

名稱 Description
IEnumerable.GetEnumerator()

它會有一個列舉器來遍歷集合。

適用於