MajorObjectCollection 类

定义

表示 MajorObject 对象的集合。

[System.Runtime.InteropServices.Guid("28AAE99B-1831-4017-A5CA-8F122C957C29")]
public abstract class MajorObjectCollection : Microsoft.AnalysisServices.NamedComponentCollection
[<System.Runtime.InteropServices.Guid("28AAE99B-1831-4017-A5CA-8F122C957C29")>]
type MajorObjectCollection = class
    inherit NamedComponentCollection
Public MustInherit Class MajorObjectCollection
Inherits NamedComponentCollection
继承
派生
属性

构造函数

MajorObjectCollection(IModelComponent)

针对指定的父对象初始化 MajorObjectCollection 类的新实例。

属性

Count

在 ModelComponentCollection 中获取 ModelComponent 对象的数量。

(继承自 ModelComponentCollection)
DemandLoadingService

获取集合的需求加载服务。

(继承自 ModelComponentCollection)
IsFixedSize

获取指示 ModelComponentCollection 大小是否固定的值。

(继承自 ModelComponentCollection)
IsReadOnly

获取指示 ModelComponentCollection 是否是只读的值。

(继承自 ModelComponentCollection)
IsSynchronized

获取指示是否同步对 ModelComponentCollection 的访问的值(确保线程安全)。

(继承自 ModelComponentCollection)
Item[Int32]

在指定索引处获取 IModelComponent。

(继承自 ModelComponentCollection)
ItemsType

获取可包含在 ModelComponentCollection 中的对象的类型。

(继承自 ModelComponentCollection)
Parent

获取 IModelComponentCollection 的父 IModelComponent。

(继承自 ModelComponentCollection)
Preloadable

获取一个值,该值指示是否可以预先加载集合。

(继承自 ModelComponentCollection)
SyncRoot

获取可用于同步对 ModelComponentCollection 的访问的对象。

(继承自 ModelComponentCollection)

方法

Add(ModelComponent)

将 ModelComponent 对象添加到集合。

Add(ModelComponent, Boolean)

向 ModelComponentCollection 添加 ModelComponent 对象。

(继承自 ModelComponentCollection)
Add(String, IModelComponent)

向 ModelComponentCollection 添加 IModelComponent 对象。

(继承自 ModelComponentCollection)
Add(String, IModelComponent, Boolean)

向 ModelComponentCollection 添加 IModelComponent 对象。

(继承自 ModelComponentCollection)
AddNew(String, String, Type)

向集合添加新的 IModelComponent。

(继承自 ModelComponentCollection)
AddNew(String, Type)

向集合添加新的 IModelComponent。

(继承自 ModelComponentCollection)
CanAdd(ModelComponent, String)

指示是否可以将指定的 ModelComponent 添加到集合。

(继承自 NamedComponentCollection)
ChangeKey(String, String)

将指定的键更改到集合中。

(继承自 ModelComponentCollection)
Clear()

从 ModelComponentCollection 删除所有元素。

(继承自 ModelComponentCollection)
Contains(IModelComponent)

确定指定项是否在集合中。

(继承自 ModelComponentCollection)
Contains(String)

确定具有特定键的项是否位于 NamedComponentCollection 中。

(继承自 NamedComponentCollection)
ContainsName(String)

指示集合中是否包含具有指定名称的组件。

(继承自 NamedComponentCollection)
CopyTo(Array, Int32)

将整个 ModelComponentCollection 复制到从目标数组的指定索引处开始的一维数组。

(继承自 ModelComponentCollection)
EnsureLoaded()

确保集合已加载。

(继承自 ModelComponentCollection)
GetEnumerator()

返回可遍历 ModelComponentCollection 的枚举器。

(继承自 ModelComponentCollection)
GetItem(String, Boolean, String)

获取对指定组件的引用。

(继承自 ModelComponentCollection)
GetNewID()

为集合中的组件获取新的唯一 ID。

(继承自 NamedComponentCollection)
GetNewID(String)

为集合中具有指定名称前缀的组件获取新的唯一 ID 值。

(继承自 NamedComponentCollection)
GetNewName()

为集合中的组件获取新的唯一名称。

(继承自 NamedComponentCollection)
GetNewName(String)

为集合中具有指定名称前缀的组件获取唯一的新名称。

(继承自 NamedComponentCollection)
IndexOf(IModelComponent)

搜索指定项并返回集合中其从零开始的索引。

(继承自 ModelComponentCollection)
IndexOf(String)

在集合中获取所标识 NamedComponent 的索引。

(继承自 NamedComponentCollection)
IndexOfName(String)

在集合中获取由名称标识的 NamedComponent 的索引。

(继承自 NamedComponentCollection)
Insert(IModelComponent, String, Int32)

在 ModelComponentCollection 中插入 IModelComponent。

(继承自 ModelComponentCollection)
Insert(IModelComponent, String, Int32, Boolean)

在 ModelComponentCollection 中插入 IModelComponent。

(继承自 ModelComponentCollection)
Insert(Int32, ModelComponent)

将 ModelComponent 对象插入到集合中的指定索引处。

IsValidID(String)

确定提供的标识符是否对集合中组件有效。

(继承自 NamedComponentCollection)
IsValidID(String, String)

确定提供的标识符是否对集合中组件有效。

(继承自 NamedComponentCollection)
IsValidID(String, Type, String)

确定提供的标识符是否对集合中组件有效。

(继承自 NamedComponentCollection)
IsValidName(String)

确定是提供的名称是否对集合中的组件是有效的。

(继承自 NamedComponentCollection)
IsValidName(String, String)

确定是提供的名称是否对集合中的组件是有效的。

(继承自 NamedComponentCollection)
IsValidName(String, Type, String)

确定是提供的名称是否对集合中的组件是有效的。

(继承自 NamedComponentCollection)
Remove(IModelComponent)

从集合删除指定的 IModelComponent。

(继承自 ModelComponentCollection)
RemoveAt(Int32)

从 ModelComponentCollection 中的指定索引处删除 IModelComponent。

(继承自 ModelComponentCollection)
RemoveAt(Int32, Boolean)

从 ModelComponentCollection 中指定索引处删除 IModelComponent。

(继承自 ModelComponentCollection)

事件

CollectionChanged

在集合更改时发生。

(继承自 ModelComponentCollection)
CollectionChanging

在集合正在发生更改时发生。

(继承自 ModelComponentCollection)

显式接口实现

IList.Add(Object)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.Clear()

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.Contains(Object)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.IndexOf(Object)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.Insert(Int32, Object)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.Item[Int32]

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.Remove(Object)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IList.RemoveAt(Int32)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IModelComponentCollection.Contains(IModelComponent)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IModelComponentCollection.Remove(IModelComponent)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IModelComponentCollection.Remove(IModelComponent, Boolean)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)
IOnDemandLoadableCollection.Loaded

表示 MajorObject 对象的集合。

(继承自 ModelComponentCollection)

适用于