Class MutableArrayObject
A class representing an editable collection of objects
Inheritance
System.Object
MutableArrayObject
Implements
System.IDisposable
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
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()
Assembly: Couchbase.Lite.dll
Syntax
public sealed class MutableArrayObject : ArrayObject, IDisposable, IMutableArray, IArray, IArrayFragment, IEnumerable<object>, IEnumerable, IMutableArrayFragment
Constructors
|
Improve this Doc
View Source
MutableArrayObject()
Declaration
public MutableArrayObject()
|
Improve this Doc
View Source
MutableArrayObject(IList)
Creates an array with the given data
Declaration
public MutableArrayObject(IList array)
Parameters
Type |
Name |
Description |
System.Collections.IList |
array |
The data to populate the array with
|
Properties
|
Improve this Doc
View Source
Item[Int32]
Gets a fragment style entry from the array by index
Declaration
public IMutableFragment this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
The index to retrieve
|
Property Value
Methods
|
Improve this Doc
View Source
AddArray(ArrayObject)
Declaration
public IMutableArray AddArray(ArrayObject value)
Parameters
Returns
|
Improve this Doc
View Source
AddBlob(Blob)
Declaration
public IMutableArray AddBlob(Blob value)
Parameters
Type |
Name |
Description |
Blob |
value |
|
Returns
|
Improve this Doc
View Source
AddBoolean(Boolean)
Declaration
public IMutableArray AddBoolean(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
|
Improve this Doc
View Source
AddDate(DateTimeOffset)
Declaration
public IMutableArray AddDate(DateTimeOffset value)
Parameters
Type |
Name |
Description |
System.DateTimeOffset |
value |
|
Returns
|
Improve this Doc
View Source
AddDictionary(DictionaryObject)
Declaration
public IMutableArray AddDictionary(DictionaryObject value)
Parameters
Returns
|
Improve this Doc
View Source
AddDouble(Double)
Declaration
public IMutableArray AddDouble(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
|
Improve this Doc
View Source
AddFloat(Single)
Declaration
public IMutableArray AddFloat(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
Returns
|
Improve this Doc
View Source
AddInt(Int32)
Declaration
public IMutableArray AddInt(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Returns
|
Improve this Doc
View Source
AddLong(Int64)
Declaration
public IMutableArray AddLong(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
AddString(String)
Declaration
public IMutableArray AddString(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
|
Improve this Doc
View Source
AddValue(Object)
Declaration
public IMutableArray AddValue(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
|
Improve this Doc
View Source
GetArray(Int32)
Declaration
public MutableArrayObject GetArray(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetDictionary(Int32)
Declaration
public MutableDictionaryObject GetDictionary(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Improve this Doc
View Source
InsertArray(Int32, ArrayObject)
Declaration
public IMutableArray InsertArray(int index, ArrayObject value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
ArrayObject |
value |
|
Returns
|
Improve this Doc
View Source
InsertBlob(Int32, Blob)
Declaration
public IMutableArray InsertBlob(int index, Blob value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Blob |
value |
|
Returns
|
Improve this Doc
View Source
InsertBoolean(Int32, Boolean)
Declaration
public IMutableArray InsertBoolean(int index, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
value |
|
Returns
|
Improve this Doc
View Source
InsertDate(Int32, DateTimeOffset)
Declaration
public IMutableArray InsertDate(int index, DateTimeOffset value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.DateTimeOffset |
value |
|
Returns
|
Improve this Doc
View Source
InsertDictionary(Int32, DictionaryObject)
Declaration
public IMutableArray InsertDictionary(int index, DictionaryObject value)
Parameters
Returns
|
Improve this Doc
View Source
InsertDouble(Int32, Double)
Declaration
public IMutableArray InsertDouble(int index, double value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Double |
value |
|
Returns
|
Improve this Doc
View Source
InsertFloat(Int32, Single)
Declaration
public IMutableArray InsertFloat(int index, float value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Single |
value |
|
Returns
|
Improve this Doc
View Source
InsertInt(Int32, Int32)
Declaration
public IMutableArray InsertInt(int index, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
value |
|
Returns
|
Improve this Doc
View Source
InsertLong(Int32, Int64)
Declaration
public IMutableArray InsertLong(int index, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
InsertString(Int32, String)
Declaration
public IMutableArray InsertString(int index, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.String |
value |
|
Returns
|
Improve this Doc
View Source
InsertValue(Int32, Object)
Declaration
public IMutableArray InsertValue(int index, object value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Object |
value |
|
Returns
|
Improve this Doc
View Source
RemoveAt(Int32)
Declaration
public IMutableArray RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Improve this Doc
View Source
SetArray(Int32, ArrayObject)
Declaration
public IMutableArray SetArray(int index, ArrayObject value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
ArrayObject |
value |
|
Returns
|
Improve this Doc
View Source
SetBlob(Int32, Blob)
Declaration
public IMutableArray SetBlob(int index, Blob value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Blob |
value |
|
Returns
|
Improve this Doc
View Source
SetBoolean(Int32, Boolean)
Declaration
public IMutableArray SetBoolean(int index, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
value |
|
Returns
|
Improve this Doc
View Source
SetData(IList)
Declaration
public IMutableArray SetData(IList array)
Parameters
Type |
Name |
Description |
System.Collections.IList |
array |
|
Returns
|
Improve this Doc
View Source
SetDate(Int32, DateTimeOffset)
Declaration
public IMutableArray SetDate(int index, DateTimeOffset value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.DateTimeOffset |
value |
|
Returns
|
Improve this Doc
View Source
SetDictionary(Int32, DictionaryObject)
Declaration
public IMutableArray SetDictionary(int index, DictionaryObject value)
Parameters
Returns
|
Improve this Doc
View Source
SetDouble(Int32, Double)
Declaration
public IMutableArray SetDouble(int index, double value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Double |
value |
|
Returns
|
Improve this Doc
View Source
SetFloat(Int32, Single)
Declaration
public IMutableArray SetFloat(int index, float value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Single |
value |
|
Returns
|
Improve this Doc
View Source
SetInt(Int32, Int32)
Declaration
public IMutableArray SetInt(int index, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
value |
|
Returns
|
Improve this Doc
View Source
SetLong(Int32, Int64)
Declaration
public IMutableArray SetLong(int index, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
SetString(Int32, String)
Declaration
public IMutableArray SetString(int index, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.String |
value |
|
Returns
|
Improve this Doc
View Source
SetValue(Int32, Object)
Declaration
public IMutableArray SetValue(int index, object value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Object |
value |
|
Returns
Implements
System.IDisposable
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable