语言

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>
派生
实现

构造函数

名称 说明
ChartObjectCollectionBase<T,U>()

初始化 ChartObjectCollectionBase<T,U> 类的新实例。

属性

名称 说明
Count

获取集合中项的数目。

Item[Int32]

通过索引获得集合中的一个项目。

方法

名称 说明
CreateChartObject(Int32)

在指定的索引处创建一个图表对象。

GetEnumerator()

获取循环访问集合的枚举器。

显式接口实现

名称 说明
IEnumerable.GetEnumerator()

获取循环访问集合的枚举器。

适用于