Click or drag to resize

MutableArray Class

A class representing an editable collection of objects
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntax
C#
public sealed class MutableArray : ArrayObject, 
	IMutableArray, IArray, IArrayFragment, IReadOnlyCollection<Object>, 
	IEnumerable<Object>, IEnumerable, IMutableArrayFragment

The MutableArray type exposes the following members.

Constructors
  NameDescription
Public methodMutableArray
Default Constructor
Public methodMutableArray(IList)
Creates an array with the given data
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
(Inherited from ArrayObject.)
Public propertyItem
Gets the value of an arbitrary index
Top
Methods
  NameDescription
Public methodAdd(Boolean)
Adds an entry to this collection
Public methodAdd(DateTimeOffset)
Adds an entry to this collection
Public methodAdd(Double)
Adds an entry to this collection
Public methodAdd(Int32)
Adds an entry to this collection
Public methodAdd(Int64)
Adds an entry to this collection
Public methodAdd(Object)
Adds an entry to this collection
Public methodAdd(Single)
Adds an entry to this collection
Public methodAdd(String)
Adds an entry to this collection
Public methodAdd(Blob)
Adds an entry to this collection
Public methodAdd(DictionaryObject)
Adds an entry to this collection
Public methodAdd(MutableArray)
Adds an entry to this collection
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetArray
Gets the value at the given index as an array
Public methodGetBlob
Gets the value at the given index as a Blob
(Inherited from ArrayObject.)
Public methodGetBoolean
Gets the value at the given index as a Boolean
(Inherited from ArrayObject.)
Public methodGetDate
Gets the value at the given index as a DateTimeOffset
(Inherited from ArrayObject.)
Public methodGetDictionary
Gets the value at the given index as an IDictionaryObject
Public methodGetDouble
Gets the value at the given index as a Double
(Inherited from ArrayObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from ArrayObject.)
Public methodGetFloat
Gets the value at the given index as a Single
(Inherited from ArrayObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Gets the value at the given index as an Int32
(Inherited from ArrayObject.)
Public methodGetLong
Gets the value at the given index as an Int64
(Inherited from ArrayObject.)
Public methodGetObject
Gets the value at the given index as an untyped object
(Inherited from ArrayObject.)
Public methodGetString
Gets the value at the given index as a String
(Inherited from ArrayObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Int32, Blob)
Inserts a given value at the given index
Public methodInsert(Int32, DictionaryObject)
Inserts a given value at the given index
Public methodInsert(Int32, MutableArray)
Inserts a given value at the given index
Public methodInsert(Int32, Boolean)
Inserts a given value at the given index
Public methodInsert(Int32, DateTimeOffset)
Inserts a given value at the given index
Public methodInsert(Int32, Double)
Inserts a given value at the given index
Public methodInsert(Int32, Int32)
Inserts a given value at the given index
Public methodInsert(Int32, Int64)
Inserts a given value at the given index
Public methodInsert(Int32, Object)
Inserts a given value at the given index
Public methodInsert(Int32, Single)
Inserts a given value at the given index
Public methodInsert(Int32, String)
Inserts a given value at the given index
Public methodRemoveAt
Removes the item at the given index
Public methodSet(IList)
Replaces the contents of this collection with the contents of the given one
Public methodSet(Int32, Blob)
Overwrites the value at the given index with the given value
Public methodSet(Int32, DictionaryObject)
Overwrites the value at the given index with the given value
Public methodSet(Int32, MutableArray)
Overwrites the value at the given index with the given value
Public methodSet(Int32, Boolean)
Overwrites the value at the given index with the given value
Public methodSet(Int32, DateTimeOffset)
Overwrites the value at the given index with the given value
Public methodSet(Int32, Double)
Overwrites the value at the given index with the given value
Public methodSet(Int32, Int32)
Overwrites the value at the given index with the given value
Public methodSet(Int32, Int64)
Overwrites the value at the given index with the given value
Public methodSet(Int32, Object)
Overwrites the value at the given index with the given value
Public methodSet(Int32, Single)
Overwrites the value at the given index with the given value
Public methodSet(Int32, String)
Overwrites the value at the given index with the given value
Public methodToList
Converts this object to a standard .NET collection
(Inherited from ArrayObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also