ModelComponentCollection.AddNew Methode

Definition

Überlädt

AddNew(String, Type)

Fügt ein IModelComponent-Objekt zur ModelComponentCollection hinzu.

AddNew(String, String, Type)

Fügt ein IModelComponent-Objekt zur ModelComponentCollection hinzu.

AddNew(String, Type)

Fügt ein IModelComponent-Objekt zur ModelComponentCollection hinzu.

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

Parameter

key
String

Der Schlüssel.

type
Type

Der Typ der Komponente.

Gibt zurück

Das IModelComponent-Objekt, das zur Collection hinzugefügt wurde.

Gilt für:

AddNew(String, String, Type)

Fügt ein IModelComponent-Objekt zur ModelComponentCollection hinzu.

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

Parameter

name
String

Der Name der hinzuzufügenden Komponente.

key
String

Der Schlüssel.

type
Type

Der Typ der Komponente.

Gibt zurück

Das IModelComponent-Objekt, das zur Collection hinzugefügt wurde.

Gilt für: