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)

將 ModelComponent 物件新增至 ModelComponentCollection。

(繼承來源 ModelComponentCollection)
Add(String, IModelComponent)

將 IModelComponent 物件新增至 ModelComponentCollection。

(繼承來源 ModelComponentCollection)
Add(String, IModelComponent, Boolean)

將 IModelComponent 物件新增至 ModelComponentCollection。

(繼承來源 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()

針對集合中的元件,取得新的唯一識別碼。

GetNewID(String)

針對集合中的元件,取得以指定名稱前置詞開頭的新唯一識別碼的值。

GetNewName()

針對集合中的元件,取得新的唯一名稱。

GetNewName(String)

針對集合中的元件,取得以指定名稱前置詞開頭的新唯一名稱。

IndexOf(IModelComponent)

搜尋指定的項目,並傳回在集合內其以零為基底的索引。

(繼承來源 ModelComponentCollection)
IndexOf(String)

取得集合中已識別 NamedComponent 的索引。

IndexOfName(String)

取得集合中依據名稱所識別之 NamedComponent 的索引。

Insert(IModelComponent, String, Int32)

將 IModelComponent 插入 ModelComponentCollection。

(繼承來源 ModelComponentCollection)
Insert(IModelComponent, String, Int32, Boolean)

將 IModelComponent 插入 ModelComponentCollection。

(繼承來源 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)

適用於