Interface IMutableFragment
An interface describing a mutable entry in a key-value path on an object. Note that if the key-value path does not exist, then setting the value will throw an exception.
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public interface IMutableFragment : IMutableArrayFragment, IMutableDictionaryFragment
Properties
| Improve this Doc View SourceArray
Gets the contained value as a MutableArrayObject
Declaration
MutableArrayObject Array { get; set; }
Property Value
Type | Description |
---|---|
MutableArrayObject |
Blob
Gets the contained value as a Blob
Declaration
Blob Blob { get; set; }
Property Value
Type | Description |
---|---|
Blob |
Boolean
Gets the contained value as a Boolean
Declaration
bool Boolean { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Date
Gets the contained value as a System.DateTimeOffset
Declaration
DateTimeOffset Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
Dictionary
Gets the contained value as a MutableDictionaryObject
Declaration
MutableDictionaryObject Dictionary { get; set; }
Property Value
Type | Description |
---|---|
MutableDictionaryObject |
Double
Gets the contained value as a Double
Declaration
double Double { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Float
Gets the contained value as a System.Single
Declaration
float Float { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Int
Gets the contained value as an System.Int32
Declaration
int Int { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Long
Gets the contained value as an System.Int64
Declaration
long Long { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
String
Gets the contained value as a String
Declaration
string String { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets or sets the value of the fragment as an untyped object
Declaration
object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when a value is attempted to be set on a key path that does not exist |