AccountCollection 类

定义

表示 Account 对象集合。 此类不能被继承。

[System.Runtime.InteropServices.Guid("38F084B9-2895-46dc-93A4-ABDC0AAACC69")]
public sealed class AccountCollection : Microsoft.AnalysisServices.ModelComponentCollection
[<System.Runtime.InteropServices.Guid("38F084B9-2895-46dc-93A4-ABDC0AAACC69")>]
type AccountCollection = class
    inherit ModelComponentCollection
Public NotInheritable Class AccountCollection
Inherits ModelComponentCollection
继承
AccountCollection
属性

属性

Count

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

(继承自 ModelComponentCollection)
DemandLoadingService

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

(继承自 ModelComponentCollection)
IsFixedSize

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

(继承自 ModelComponentCollection)
IsReadOnly

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

(继承自 ModelComponentCollection)
IsSynchronized

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

(继承自 ModelComponentCollection)
Item[Int32]

从集合中的指定索引处获取 Account

Item[String]

从集合中获取具有指定帐户类型的 Account

ItemsType

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

(继承自 ModelComponentCollection)
Parent

获取 IModelComponentCollection 的父 IModelComponent。

(继承自 ModelComponentCollection)
Preloadable

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

(继承自 ModelComponentCollection)
SyncRoot

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

(继承自 ModelComponentCollection)

方法

Add(Account)

将指定的 Account 添加到集合末尾。

Add(ModelComponent)

向 ModelComponentCollection 添加 ModelComponent 对象。

(继承自 ModelComponentCollection)
Add(ModelComponent, Boolean)

向 ModelComponentCollection 添加 ModelComponent 对象。

(继承自 ModelComponentCollection)
Add(String)

使用指定的帐户类型创建一个新的 Account 对象,将其添加到集合的末尾并返回新创建的 Account。

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。

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

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

(继承自 ModelComponentCollection)
Clear()

从 ModelComponentCollection 删除所有元素。

(继承自 ModelComponentCollection)
Contains(Account)

指示集合中是否包含指定的 Account

Contains(IModelComponent)

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

(继承自 ModelComponentCollection)
Contains(String)

指示集合中是否包含具有指定帐户类型的 Account

CopyTo(Array, Int32)

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

(继承自 ModelComponentCollection)
EnsureLoaded()

确保集合已加载。

(继承自 ModelComponentCollection)
Find(String)

从集合中获取具有指定帐户类型的 Account 对象。

GetEnumerator()

返回可遍历 ModelComponentCollection 的枚举器。

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

获取对指定组件的引用。

(继承自 ModelComponentCollection)
IndexOf(Account)

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

IndexOf(IModelComponent)

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

(继承自 ModelComponentCollection)
IndexOf(String)

在集合中搜索具有指定帐户类型的 Account,并返回其从零开始的索引。

Insert(IModelComponent, String, Int32)

在 ModelComponentCollection 中插入 IModelComponent。

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

在 ModelComponentCollection 中插入 IModelComponent。

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

将指定的 Account 插入到集合中的指定索引处。

Insert(Int32, ModelComponent)

在 ModelComponentCollection 中插入 ModelComponent。

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

使用指定的帐户类型创建一个新的 Account 对象,将其插入到集合中的指定索引处,并返回新创建的 Account。

Move(Account, Int32)

将指定的 Account 移动到集合中的新位置。

Move(Int32, Int32)

将集合中的 Account 从当前位置移动到新位置。

Move(String, Int32)

将具有指定帐户类型的 Account 移动到集合中的新位置。

Remove(Account)

从集合中移除指定的 Account

Remove(Account, Boolean)

从集合中移除指定的 Account

Remove(IModelComponent)

从集合删除指定的 IModelComponent。

(继承自 ModelComponentCollection)
Remove(String)

从集合中删除具有指定帐户类型的 Account

Remove(String, Boolean)

从集合中删除具有指定帐户类型的 Account

RemoveAt(Int32)

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

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

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

(继承自 ModelComponentCollection)

事件

CollectionChanged

在集合更改时发生。

(继承自 ModelComponentCollection)
CollectionChanging

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

(继承自 ModelComponentCollection)

显式接口实现

IList.Add(Object)

表示 Account 对象集合。 此类不能被继承。

(继承自 ModelComponentCollection)
IList.Clear()

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

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

表示 Account 对象集合。 此类不能被继承。

(继承自 ModelComponentCollection)
IOnDemandLoadableCollection.Loaded

表示 Account 对象集合。 此类不能被继承。

(继承自 ModelComponentCollection)

适用于