Partilhar via


Método Add (String, Object)

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

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)

Sintaxe

'Declaração
Public Sub Add ( _
    propertyName As String, _
    propertyValue As Object _
)
'Uso
Dim instance As CustomPropertyCollection
Dim propertyName As String
Dim propertyValue As Object

instance.Add(propertyName, propertyValue)
public void Add(
    string propertyName,
    Object propertyValue
)
public:
void Add(
    String^ propertyName, 
    Object^ propertyValue
)
member Add : 
        propertyName:string * 
        propertyValue:Object -> unit 
public function Add(
    propertyName : String, 
    propertyValue : Object
)

Parâmetros