CustomPropertyCollection.Add Method (String, Object)
Creates a custom property with a name and value and adds it to the collection.
Espace de noms: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- propertyName
The name of the custom property.
- propertyValue
The value of the custom property.
Notes
Nouveau :5 décembre 2005
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
CustomPropertyCollection Class
CustomPropertyCollection Members
Microsoft.ReportingServices.ReportRendering Namespace