Condividi tramite


CustomPropertyCollection.Add Method (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 _
)
public void Add (
    string propertyName,
    Object propertyValue
)
public:
void Add (
    String^ propertyName, 
    Object^ propertyValue
)
public void Add (
    String propertyName, 
    Object propertyValue
)
public function Add (
    propertyName : String, 
    propertyValue : Object
)

Parametri

  • propertyName
    The name of the custom property.
  • propertyValue
    The value of the custom property.

Osservazioni

Data creazione:5 dicembre 2005

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

CustomPropertyCollection Class
CustomPropertyCollection Members
Microsoft.ReportingServices.ReportRendering Namespace