ModelComponentCollection.AddNew Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddNew(String, Type) |
Adds a new IModelComponent to the collection. |
AddNew(String, String, Type) |
Adds a new IModelComponent to the collection. |
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
Protected Function AddNew (key As String, type As Type) As IModelComponent
Parameters
- key
- String
The key.
- type
- Type
The type of the component.
Returns
The IModelComponent added to the collection.
Applies to
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
Protected Function AddNew (name As String, key As String, type As Type) As IModelComponent
Parameters
- name
- String
The name of the component to add.
- key
- String
The key.
- type
- Type
The type of the component.
Returns
The IModelComponent added to the collection.