语言

CustomPropertyCollection.Add 方法

定义

为集合添加自定义属性。

重载

名称 说明
Add(CustomProperty)

为集合添加自定义属性。

Add(String, Object)

创建一个带有名称和值的自定义属性,并将其添加到集合中。

Add(CustomProperty)

为集合添加自定义属性。

public:
 void Add(Microsoft::ReportingServices::ReportRendering::CustomProperty ^ property);
public void Add(Microsoft.ReportingServices.ReportRendering.CustomProperty property);
member this.Add : Microsoft.ReportingServices.ReportRendering.CustomProperty -> unit
Public Sub Add (property As CustomProperty)

参数

property
CustomProperty

CustomProperty要添加到集合的对象。

适用于

Add(String, Object)

创建一个带有名称和值的自定义属性,并将其添加到集合中。

public:
 void Add(System::String ^ propertyName, System::Object ^ propertyValue);
public void Add(string propertyName, object propertyValue);
member this.Add : string * obj -> unit
Public Sub Add (propertyName As String, propertyValue As Object)

参数

propertyName
String

自定义属性的名称。

propertyValue
Object

自定义属性的值。

适用于