A Sandcastle Documented Class Library

# DataProperties AddProperty Method (String, String)

Sets a specified data property value.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public void AddProperty(
    	string propertyName,
    	string propertyValue
    )

    Public Sub AddProperty (
    	propertyName As String,
    	propertyValue As String
    )

    public:
    void AddProperty(
    	String^ propertyName,
    	String^ propertyValue
    )

    member AddProperty :
            propertyName : string *
            propertyValue : string -> unit

#### Parameters

propertyName
  Type: System
  String
  Name of the property.
propertyValue
  Type: System
  String
  The property value.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | propertyName or propertyValue is .

See Also

#### Reference

DataProperties Class
AddProperty Overload
Dundas.BI.Data.Metadata Namespace