Show / Hide Table of Contents

Class ArrayObject

A class representing a readonly ordered collection of objects

Inheritance
System.Object
ArrayObject
MutableArrayObject
Implements
IArray
IArrayFragment
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
System.IDisposable
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()
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public class ArrayObject : IArray, IArrayFragment, IEnumerable<object>, IEnumerable, IDisposable

Properties

| Improve this Doc View Source

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Item[Int32]

Declaration
public IFragment this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
IFragment

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

GetArray(Int32)

Declaration
public ArrayObject GetArray(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
ArrayObject
| Improve this Doc View Source

GetBlob(Int32)

Declaration
public Blob GetBlob(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
Blob
| Improve this Doc View Source

GetBoolean(Int32)

Declaration
public bool GetBoolean(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetDate(Int32)

Declaration
public DateTimeOffset GetDate(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.DateTimeOffset
| Improve this Doc View Source

GetDictionary(Int32)

Declaration
public DictionaryObject GetDictionary(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
DictionaryObject
| Improve this Doc View Source

GetDouble(Int32)

Declaration
public double GetDouble(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Double
| Improve this Doc View Source

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public virtual IEnumerator<object> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Object>

An enumerator that can be used to iterate through the collection.

| Improve this Doc View Source

GetFloat(Int32)

Declaration
public float GetFloat(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Single
| Improve this Doc View Source

GetInt(Int32)

Declaration
public int GetInt(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetLong(Int32)

Declaration
public long GetLong(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Int64
| Improve this Doc View Source

GetString(Int32)

Declaration
public string GetString(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.String
| Improve this Doc View Source

GetValue(Int32)

Declaration
public object GetValue(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Object
| Improve this Doc View Source

ToList()

Similar to the LINQ method, but returns all objects converted to standard .NET types

Declaration
public List<object> ToList()
Returns
Type Description
System.Collections.Generic.List<System.Object>

A list of standard .NET typed objects in the array

| Improve this Doc View Source

ToMutable()

Creates a copy of this object that can be mutated

Declaration
public MutableArrayObject ToMutable()
Returns
Type Description
MutableArrayObject

A mutable copy of the array

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

IArray
IArrayFragment
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX