Click or drag to resize

IPropertyContainerSet Method

Sets the given value to the given key in the object

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
IPropertyContainer Set(
	string key,
	Object value
)

Parameters

key
Type: SystemString
The key to set
value
Type: SystemObject
The value to use

Return Value

Type: IPropertyContainer
Returns itself (so that this call can be chained)
Exceptions
ExceptionCondition
ArgumentExceptionvalue is not a valid JSON type
ThreadSafetyViolationExceptionThrown if an invalid access attempt is made
See Also