Adds a new property value to this object

Namespace: BrightstarDB.Client
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
IDataObject AddProperty(
	IDataObject type,
	Object value,
	string lang = null
)
Visual Basic
Function AddProperty ( 
	type As IDataObject,
	value As Object,
	Optional lang As String = Nothing
) As IDataObject
Visual C++
IDataObject^ AddProperty(
	IDataObject^ type, 
	Object^ value, 
	String^ lang = nullptr
)
F#
abstract AddProperty : 
        type : IDataObject * 
        value : Object * 
        ?lang : string 
(* Defaults:
        let _lang = defaultArg lang null
*)
-> IDataObject 

Parameters

type
Type: BrightstarDB.Client..::..IDataObject
The type of the property to add
value
Type: System..::..Object
The value of the property
lang (Optional)
Type: System..::..String
OPTIONAL: The language code of the literal value. This parameter is ignored if value is an IDataObject

Return Value

Type: IDataObject
This IDataOjbect to allow chained calls

See Also