Show / Hide Table of Contents

Class MutableDictionaryObject

A class representing a writeable string to object dictionary

Inheritance
System.Object
DictionaryObject
MutableDictionaryObject
Implements
IMutableDictionary
IDictionaryObject
IDictionaryFragment
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
System.Collections.IEnumerable
IMutableDictionaryFragment
Inherited Members
DictionaryObject.Count
DictionaryObject.Keys
DictionaryObject.ToMutable()
DictionaryObject.KeysChanged()
DictionaryObject.Contains(String)
DictionaryObject.GetBlob(String)
DictionaryObject.GetBoolean(String)
DictionaryObject.GetDate(String)
DictionaryObject.GetDouble(String)
DictionaryObject.GetFloat(String)
DictionaryObject.GetInt(String)
DictionaryObject.GetLong(String)
DictionaryObject.GetValue(String)
DictionaryObject.GetString(String)
DictionaryObject.ToDictionary()
DictionaryObject.IEnumerable.GetEnumerator()
DictionaryObject.GetEnumerator()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public sealed class MutableDictionaryObject : DictionaryObject, IMutableDictionary, IDictionaryObject, IDictionaryFragment, IEnumerable<KeyValuePair<string, object>>, IEnumerable, IMutableDictionaryFragment

Constructors

| Improve this Doc View Source

MutableDictionaryObject()

Default Constructor

Declaration
public MutableDictionaryObject()
| Improve this Doc View Source

MutableDictionaryObject(IDictionary<String, Object>)

Creates a dictionary given the initial set of keys and values from an existing dictionary

Declaration
public MutableDictionaryObject(IDictionary<string, object> dict)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> dict

The dictionary to copy the keys and values from

Properties

| Improve this Doc View Source

Item[String]

Gets the fragment value for the given key in this dictionary

Declaration
public IMutableFragment this[string key] { get; }
Parameters
Type Name Description
System.String key

The key whose value to retrieve

Property Value
Type Description
IMutableFragment

The fragment representing the value at the given key

Methods

| Improve this Doc View Source

GetArray(String)

Declaration
public MutableArrayObject GetArray(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
MutableArrayObject
| Improve this Doc View Source

GetDictionary(String)

Declaration
public MutableDictionaryObject GetDictionary(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
MutableDictionaryObject
| Improve this Doc View Source

Remove(String)

Declaration
public IMutableDictionary Remove(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetArray(String, ArrayObject)

Declaration
public IMutableDictionary SetArray(string key, ArrayObject value)
Parameters
Type Name Description
System.String key
ArrayObject value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetBlob(String, Blob)

Declaration
public IMutableDictionary SetBlob(string key, Blob value)
Parameters
Type Name Description
System.String key
Blob value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetBoolean(String, Boolean)

Declaration
public IMutableDictionary SetBoolean(string key, bool value)
Parameters
Type Name Description
System.String key
System.Boolean value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetData(IDictionary<String, Object>)

Declaration
public IMutableDictionary SetData(IDictionary<string, object> dictionary)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> dictionary
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetDate(String, DateTimeOffset)

Declaration
public IMutableDictionary SetDate(string key, DateTimeOffset value)
Parameters
Type Name Description
System.String key
System.DateTimeOffset value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetDictionary(String, DictionaryObject)

Declaration
public IMutableDictionary SetDictionary(string key, DictionaryObject value)
Parameters
Type Name Description
System.String key
DictionaryObject value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetDouble(String, Double)

Declaration
public IMutableDictionary SetDouble(string key, double value)
Parameters
Type Name Description
System.String key
System.Double value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetFloat(String, Single)

Declaration
public IMutableDictionary SetFloat(string key, float value)
Parameters
Type Name Description
System.String key
System.Single value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetInt(String, Int32)

Declaration
public IMutableDictionary SetInt(string key, int value)
Parameters
Type Name Description
System.String key
System.Int32 value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetLong(String, Int64)

Declaration
public IMutableDictionary SetLong(string key, long value)
Parameters
Type Name Description
System.String key
System.Int64 value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetString(String, String)

Declaration
public IMutableDictionary SetString(string key, string value)
Parameters
Type Name Description
System.String key
System.String value
Returns
Type Description
IMutableDictionary
| Improve this Doc View Source

SetValue(String, Object)

Declaration
public IMutableDictionary SetValue(string key, object value)
Parameters
Type Name Description
System.String key
System.Object value
Returns
Type Description
IMutableDictionary

Implements

IMutableDictionary
IDictionaryObject
IDictionaryFragment
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
IMutableDictionaryFragment
  • Improve this Doc
  • View Source
Back to top Generated by DocFX