Condividi tramite


Metodo CustomPropertyCollection.Add (String, Object)

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

Spazio dei nomi  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    propertyName As String, _
    propertyValue As Object _
)
'Utilizzo
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
)

Parametri

  • propertyName
    Tipo: System.String
    The name of the custom property.
  • propertyValue
    Tipo: System.Object
    The value of the custom property.

Vedere anche

Riferimento

CustomPropertyCollection Classe

Overload Add

Spazio dei nomi Microsoft.ReportingServices.ReportRendering