Click or drag to resize

IArray Interface

An interface representing a read-only linear collection of objects

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

The IArray type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements in this array
Public propertyItem
Gets the value of the given index, or lack thereof, wrapped inside of a IFragment
(Inherited from IArrayFragment.)
Top
Methods
  NameDescription
Public methodGetArray
Gets the value at the given index as a read only array
Public methodGetBlob
Gets the value at the given index as a Blob
Public methodGetBoolean
Gets the value at the given index as a Boolean
Public methodGetDate
Gets the value at the given index as a DateTimeOffset
Public methodGetDictionary
Gets the value at the given index as a DictionaryObject
Public methodGetDouble
Gets the value at the given index as a Double
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableObject.)
Public methodGetFloat
Gets the value at the given index as a Single
Public methodGetInt
Gets the value at the given index as an Int32
Public methodGetLong
Gets the value at the given index as an Int64
Public methodGetString
Gets the value at the given index as a String
Public methodGetValue
Gets the value at the given index as an untyped object
Public methodToList
Converts the contents of the array to a .NET list type
Top
See Also