Click or drag to resize

IArray Interface

An interface representing a writeable collection of objects

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public interface IArray : IReadOnlyArray, IReadOnlyArrayFragment, 
	IEnumerable<Object>, IEnumerable, IArrayFragment

The IArray type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection
(Inherited from IReadOnlyArray.)
Public propertyItem
Gets the value of the given index, or lack thereof, wrapped inside of a Fragment
Top
Methods
  NameDescription
Public methodAdd
Adds an entry to this collection
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 IReadOnlyArray.)
Public methodGetBoolean
Gets the value at the given index as a Boolean
(Inherited from IReadOnlyArray.)
Public methodGetDate
Gets the value at the given index as a DateTimeOffset
(Inherited from IReadOnlyArray.)
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 IReadOnlyArray.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableObject.)
Public methodGetInt
Gets the value at the given index as an Int32
(Inherited from IReadOnlyArray.)
Public methodGetLong
Gets the value at the given index as an Int64
(Inherited from IReadOnlyArray.)
Public methodGetObject
Gets the value at the given index as an untyped object
(Inherited from IReadOnlyArray.)
Public methodGetString
Gets the value at the given index as a String
(Inherited from IReadOnlyArray.)
Public methodInsert
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, Object)
Overwrites the value at the given index with the given value
Public methodToList
Converts this object to a standard .NET collection
(Inherited from IReadOnlyArray.)
Top
Extension Methods
  NameDescription
Public Extension MethodAnyAndEveryObject
Returns whether or not the collection has at least one item AND at least one item matching the given pattern
(Defined by LinqExtensionMethods.)
Top
See Also