CustomPropertyCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.