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

此自定义属性的值。

适用于