IArray Interface |
Namespace: Couchbase.Lite
public interface IArray : IReadOnlyArray, IReadOnlyArrayFragment, IEnumerable<Object>, IEnumerable, IArrayFragment
The IArray type exposes the following members.
| Name | Description | |
|---|---|---|
| Count |
Gets the number of elements in the collection
(Inherited from IReadOnlyArray.) | |
| Item |
Gets the value of the given index, or lack thereof,
wrapped inside of a Fragment |
| Name | Description | |
|---|---|---|
| Add |
Adds an entry to this collection
| |
| GetArray |
Gets the value at the given index as an array
| |
| GetBlob |
Gets the value at the given index as a Blob (Inherited from IReadOnlyArray.) | |
| GetBoolean |
Gets the value at the given index as a Boolean (Inherited from IReadOnlyArray.) | |
| GetDate |
Gets the value at the given index as a DateTimeOffset (Inherited from IReadOnlyArray.) | |
| GetDictionary |
Gets the value at the given index as an IDictionaryObject | |
| GetDouble |
Gets the value at the given index as a Double (Inherited from IReadOnlyArray.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableObject.) | |
| GetInt |
Gets the value at the given index as an Int32 (Inherited from IReadOnlyArray.) | |
| GetLong |
Gets the value at the given index as an Int64 (Inherited from IReadOnlyArray.) | |
| GetObject |
Gets the value at the given index as an untyped object
(Inherited from IReadOnlyArray.) | |
| GetString |
Gets the value at the given index as a String (Inherited from IReadOnlyArray.) | |
| Insert |
Inserts a given value at the given index
| |
| RemoveAt |
Removes the item at the given index
| |
| Set(IList) |
Replaces the contents of this collection with the contents of the given one
| |
| Set(Int32, Object) |
Overwrites the value at the given index with the given value
| |
| ToList |
Converts this object to a standard .NET collection
(Inherited from IReadOnlyArray.) |