Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
IDocument Interface
IDocument Methods
Delete Method
Purge Method
Save Method
Set Method
IDocument
Set 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#
Copy
IDocument
Set
(
string
key
,
Object
value
)
Parameters
key
Type:
System
String
The key to set
value
Type:
System
Object
The value to set
Return Value
Type:
IDocument
The same
IDocument
object for chaining
Exceptions
Exception
Condition
ThreadSafetyViolationException
Thrown if an invalid access attempt is made
See Also
Reference
IDocument Interface
Couchbase.Lite Namespace