ModelComponentCollection.AddNew 方法

定义

重载

AddNew(String, Type)

向集合添加新的 IModelComponent。

AddNew(String, String, Type)

向集合添加新的 IModelComponent。

AddNew(String, Type)

向集合添加新的 IModelComponent。

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

参数

key
String

键。

type
Type

组件的类型。

返回

添加到集合的 IModelComponent。

适用于

AddNew(String, String, Type)

向集合添加新的 IModelComponent。

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

参数

name
String

要添加的组件的名称。

key
String

键。

type
Type

组件的类型。

返回

添加到集合的 IModelComponent。

适用于