Click or drag to resize

IDocumentSet Method

Sets the given key to the given value in this document

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

Parameters

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

Return Value

Type: IDocument
The same IDocument object for chaining
Exceptions
ExceptionCondition
ThreadSafetyViolationExceptionThrown if an invalid access attempt is made
See Also