NamedComponentCollection 类

定义

包含 INamedComponent 对象的集合。

[System.Runtime.InteropServices.Guid("4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")]
public abstract class NamedComponentCollection : Microsoft.AnalysisServices.ModelComponentCollection, Microsoft.AnalysisServices.INamedComponentCollection
[<System.Runtime.InteropServices.Guid("4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")>]
type NamedComponentCollection = class
    inherit ModelComponentCollection
    interface INamedComponentCollection
    interface IModelComponentCollection
    interface ICollection
    interface IEnumerable
Public MustInherit Class NamedComponentCollection
Inherits ModelComponentCollection
Implements INamedComponentCollection
继承
NamedComponentCollection
派生
属性
实现

构造函数

NamedComponentCollection(IModelComponent)

初始化 NamedComponentCollection 类的新实例。

属性

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 对象添加到 NamedComponentCollection。

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 添加到集合。

ChangeKey(String, String)

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

(继承自 ModelComponentCollection)
Clear()

从 ModelComponentCollection 删除所有元素。

(继承自 ModelComponentCollection)
Contains(IModelComponent)

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

(继承自 ModelComponentCollection)
Contains(String)

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

ContainsName(String)

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

CopyTo(Array, Int32)

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

(继承自 ModelComponentCollection)
EnsureLoaded()

确保集合已加载。

(继承自 ModelComponentCollection)
GetEnumerator()

返回可遍历 ModelComponentCollection 的枚举器。

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

获取对指定组件的引用。

(继承自 ModelComponentCollection)
GetNewID()

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

GetNewID(String)

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

GetNewName()

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

GetNewName(String)

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

IndexOf(IModelComponent)

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

(继承自 ModelComponentCollection)
IndexOf(String)

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

IndexOfName(String)

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

Insert(IModelComponent, String, Int32)

在 ModelComponentCollection 中插入 IModelComponent。

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

在 ModelComponentCollection 中插入 IModelComponent。

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

在集合的指定索引处插入 ModelComponent。

IsValidID(String)

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

IsValidID(String, String)

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

IsValidID(String, Type, String)

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

IsValidName(String)

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

IsValidName(String, String)

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

IsValidName(String, Type, String)

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

Remove(IModelComponent)

从集合删除指定的 IModelComponent。

(继承自 ModelComponentCollection)
RemoveAt(Int32)

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

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

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

(继承自 ModelComponentCollection)

事件

CollectionChanged

在集合更改时发生。

(继承自 ModelComponentCollection)
CollectionChanging

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

(继承自 ModelComponentCollection)

显式接口实现

IList.Add(Object)

包含 INamedComponent 对象的集合。

(继承自 ModelComponentCollection)
IList.Clear()

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

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

包含 INamedComponent 对象的集合。

(继承自 ModelComponentCollection)
IOnDemandLoadableCollection.Loaded

包含 INamedComponent 对象的集合。

(继承自 ModelComponentCollection)

适用于