ModelComponentCollection.Add Method

Definition

Overloads

Add(ModelComponent)

Adds a ModelComponent object to the ModelComponentCollection.

Add(ModelComponent, Boolean)

Adds a ModelComponent object to the ModelComponentCollection.

Add(String, IModelComponent)

Adds a IModelComponent object to the ModelComponentCollection.

Add(String, IModelComponent, Boolean)

Adds a IModelComponent object to the ModelComponentCollection.

Add(ModelComponent)

Adds a ModelComponent object to the ModelComponentCollection.

protected internal virtual int Add (Microsoft.AnalysisServices.ModelComponent item);
abstract member Add : Microsoft.AnalysisServices.ModelComponent -> int
override this.Add : Microsoft.AnalysisServices.ModelComponent -> int
Protected Friend Overridable Function Add (item As ModelComponent) As Integer

Parameters

item
ModelComponent

The item to add.

Returns

The index of the item that is added to the collection.

Applies to

Add(ModelComponent, Boolean)

Adds a ModelComponent object to the ModelComponentCollection.

protected internal virtual int Add (Microsoft.AnalysisServices.ModelComponent item, bool updateDependents);
abstract member Add : Microsoft.AnalysisServices.ModelComponent * bool -> int
override this.Add : Microsoft.AnalysisServices.ModelComponent * bool -> int
Protected Friend Overridable Function Add (item As ModelComponent, updateDependents As Boolean) As Integer

Parameters

item
ModelComponent

The item to add.

updateDependents
Boolean

Indicates whether to update the dependents.

Returns

The index of the item that is added to the collection.

Applies to

Add(String, IModelComponent)

Adds a IModelComponent object to the ModelComponentCollection.

protected int Add (string key, Microsoft.AnalysisServices.IModelComponent item);
member this.Add : string * Microsoft.AnalysisServices.IModelComponent -> int
Protected Function Add (key As String, item As IModelComponent) As Integer

Parameters

key
String

The key.

item
IModelComponent

The item to add.

Returns

The index of the item that is added to the collection.

Applies to

Add(String, IModelComponent, Boolean)

Adds a IModelComponent object to the ModelComponentCollection.

protected int Add (string key, Microsoft.AnalysisServices.IModelComponent item, bool updateDependents);
member this.Add : string * Microsoft.AnalysisServices.IModelComponent * bool -> int
Protected Function Add (key As String, item As IModelComponent, updateDependents As Boolean) As Integer

Parameters

key
String

The key.

item
IModelComponent

The item to add.

updateDependents
Boolean

Indicates whether to update the dependents.

Returns

The index of the item that is added to the collection.

Applies to