Adds a new property value to this object
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
IDataObject AddProperty(
string type,
Object value,
string lang = null
) |
Visual Basic |
---|
Function AddProperty (
type As String,
value As Object,
Optional lang As String = Nothing
) As IDataObject |
Visual C++ |
---|
IDataObject^ AddProperty(
String^ type,
Object^ value,
String^ lang = nullptr
) |
F# |
---|
abstract AddProperty :
type : string *
value : Object *
?lang : string
(* Defaults:
let _lang = defaultArg lang null
*)
-> IDataObject
|
Parameters
- type
- Type: System..::..String
The type of the property to add as a CURIE or URI string
- 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:
IDataObjectThis IDataOjbect to allow chained calls
See Also