ModelComponentCollection.AddNew ModelComponentCollection.AddNew Method

Definition

Overloads

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

Adds a new IModelComponent to the collection.

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

Adds a new IModelComponent to the collection.

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

Adds a new IModelComponent to the collection.

protected Microsoft.AnalysisServices.IModelComponent AddNew (string key, Type type);
member this.AddNew : string * Type -> Microsoft.AnalysisServices.IModelComponent

Parameters

key
String String

The key.

type
Type Type

The type of the component.

Returns

The IModelComponent added to the collection.

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

Adds a new IModelComponent to the collection.

protected Microsoft.AnalysisServices.IModelComponent AddNew (string name, string key, Type type);
member this.AddNew : string * string * Type -> Microsoft.AnalysisServices.IModelComponent

Parameters

name
String String

The name of the component to add.

key
String String

The key.

type
Type Type

The type of the component.

Returns

The IModelComponent added to the collection.

Applies to