CustomPropertyCollection.Add Method

Definition

Adds a custom property to the collection.

Overloads

Add(CustomProperty)

Adds a custom property to the collection.

Add(String, Object)

Creates a custom property with a name and value and adds it to the collection.

Add(CustomProperty)

Adds a custom property to the collection.

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)

Parameters

property
CustomProperty

A CustomProperty object to add to the collection.

Applies to

Add(String, Object)

Creates a custom property with a name and value and adds it to the collection.

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)

Parameters

propertyName
String

The name of the custom property.

propertyValue
Object

The value of the custom property.

Applies to