ModelComponentCollection ModelComponentCollection ModelComponentCollection Class

Definition

Contains a collection of ModelComponent objects.

[System.Runtime.InteropServices.Guid("74BB3312-550A-4f1f-BECF-80422AC163C6")]
public abstract class ModelComponentCollection : Microsoft.AnalysisServices.Hosting.IOnDemandLoadableCollection, Microsoft.AnalysisServices.IModelComponentCollection, System.Collections.IList
type ModelComponentCollection = class
    interface IModelComponentCollection
    interface ICollection
    interface IEnumerable
    interface IList
    interface IOnDemandLoadableCollection
Public MustInherit Class ModelComponentCollection
Implements IList, IModelComponentCollection, IOnDemandLoadableCollection
Inheritance
ModelComponentCollectionModelComponentCollectionModelComponentCollection
Derived
Attributes
Implements

Constructors

ModelComponentCollection(IModelComponent) ModelComponentCollection(IModelComponent) ModelComponentCollection(IModelComponent)

Initializes a new instance of the ModelComponentCollection class.

Properties

Count Count Count

Gets the number of ModelComponent objects in the ModelComponentCollection.

DemandLoadingService DemandLoadingService DemandLoadingService

Gets the demand loading service for the collection.

IsFixedSize IsFixedSize IsFixedSize

Gets a value indicating whether the ModelComponentCollection has a fixed size.

IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the ModelComponentCollection is read-only.

IsSynchronized IsSynchronized IsSynchronized

Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).

Item[Int32] Item[Int32] Item[Int32]

Gets the IModelComponent at the specified index.

ItemsType ItemsType ItemsType

Gets the Type of objects that can be contained by the ModelComponentCollection.

Parent Parent Parent

Gets the parent IModelComponent of the IModelComponentCollection.

Preloadable Preloadable Preloadable

Gets a value indicating whether the collection can be preloaded.

SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the ModelComponentCollection.

Methods

Add(ModelComponent) Add(ModelComponent) Add(ModelComponent)

Adds a ModelComponent object to the ModelComponentCollection.

Add(ModelComponent, Boolean) Add(ModelComponent, Boolean) Add(ModelComponent, Boolean)

Adds a ModelComponent object to the ModelComponentCollection.

Add(String, IModelComponent) Add(String, IModelComponent) Add(String, IModelComponent)

Adds a IModelComponent object to the ModelComponentCollection.

Add(String, IModelComponent, Boolean) Add(String, IModelComponent, Boolean) Add(String, IModelComponent, Boolean)

Adds a IModelComponent object to the ModelComponentCollection.

AddNew(String, Type) AddNew(String, Type) AddNew(String, Type)

Adds a new IModelComponent to the collection.

AddNew(String, String, Type) AddNew(String, String, Type) AddNew(String, String, Type)

Adds a new IModelComponent to the collection.

CanAdd(ModelComponent, String) CanAdd(ModelComponent, String) CanAdd(ModelComponent, String)

Indicates whether the collection can add a ModelComponent.

ChangeKey(String, String) ChangeKey(String, String) ChangeKey(String, String)

Changes the specified keys to the collection.

Clear() Clear() Clear()

Removes all elements from the ModelComponentCollection.

Contains(IModelComponent) Contains(IModelComponent) Contains(IModelComponent)

Determines whether the specified item is in the collection.

Contains(String) Contains(String) Contains(String)

Determines whether an item with the specified key is in the ModelComponentCollection.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.

EnsureLoaded() EnsureLoaded() EnsureLoaded()

Ensures the collection is loaded.

GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that can iterate through the ModelComponentCollection.

GetItem(String, Boolean, String) GetItem(String, Boolean, String) GetItem(String, Boolean, String)

Gets a reference to the specified component.

IndexOf(IModelComponent) IndexOf(IModelComponent) IndexOf(IModelComponent)

Searches for the specified item and returns its zero-based index within the collection.

IndexOf(String) IndexOf(String) IndexOf(String)

Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.

Insert(IModelComponent, String, Int32) Insert(IModelComponent, String, Int32) Insert(IModelComponent, String, Int32)

Inserts an IModelComponent in the ModelComponentCollection.

Insert(IModelComponent, String, Int32, Boolean) Insert(IModelComponent, String, Int32, Boolean) Insert(IModelComponent, String, Int32, Boolean)

Inserts an IModelComponent in the ModelComponentCollection.

Insert(Int32, ModelComponent) Insert(Int32, ModelComponent) Insert(Int32, ModelComponent)

Inserts an ModelComponent in the ModelComponentCollection.

Remove(IModelComponent) Remove(IModelComponent) Remove(IModelComponent)

Removes the specified IModelComponent from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.

RemoveAt(Int32, Boolean) RemoveAt(Int32, Boolean) RemoveAt(Int32, Boolean)

emoves the IModelComponent at the specified index from the ModelComponentCollection.

Events

CollectionChanged CollectionChanged CollectionChanged

Occurs when the collection changes.

CollectionChanging CollectionChanging CollectionChanging

Occurs when the collection is changing.

Explicit Interface Implementations

IOnDemandLoadableCollection.BlockOnDemandLoad(Boolean) IOnDemandLoadableCollection.BlockOnDemandLoad(Boolean) IOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)
IOnDemandLoadableCollection.Loaded IOnDemandLoadableCollection.Loaded IOnDemandLoadableCollection.Loaded
IModelComponentCollection.Contains(IModelComponent) IModelComponentCollection.Contains(IModelComponent) IModelComponentCollection.Contains(IModelComponent)
IModelComponentCollection.Remove(IModelComponent) IModelComponentCollection.Remove(IModelComponent) IModelComponentCollection.Remove(IModelComponent)
IModelComponentCollection.Remove(IModelComponent, Boolean) IModelComponentCollection.Remove(IModelComponent, Boolean) IModelComponentCollection.Remove(IModelComponent, Boolean)
IList.Add(Object) IList.Add(Object) IList.Add(Object)
IList.Clear() IList.Clear() IList.Clear()
IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)
IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)
IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)
IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]
IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)
IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32)

Applies to