Freigeben über


CustomPropertyCollection.Add Method (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 (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
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
)

Parameter

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

Hinweise

Neu:05. Dezember 2005

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

CustomPropertyCollection Class
CustomPropertyCollection Members
Microsoft.ReportingServices.ReportRendering Namespace