ArrayObject Class |
Namespace: Couchbase.Lite
public sealed class ArrayObject : ReadOnlyArray, IArray, IReadOnlyArray, IReadOnlyArrayFragment, IEnumerable<Object>, IEnumerable, IArrayFragment
The ArrayObject type exposes the following members.
Name | Description | |
---|---|---|
ArrayObject |
Default Constructor
| |
ArrayObject(IList) |
Creates an array with the given data
|
Name | Description | |
---|---|---|
Count |
Gets the number of elements in the collection
(Overrides ReadOnlyArrayCount.) | |
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
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetArray |
Gets the value at the given index as an array
| |
GetBlob |
Gets the value at the given index as a Blob (Overrides ReadOnlyArrayGetBlob(Int32).) | |
GetBoolean |
Gets the value at the given index as a Boolean (Overrides ReadOnlyArrayGetBoolean(Int32).) | |
GetDate |
Gets the value at the given index as a DateTimeOffset (Overrides ReadOnlyArrayGetDate(Int32).) | |
GetDictionary |
Gets the value at the given index as an IDictionaryObject | |
GetDouble |
Gets the value at the given index as a Double (Overrides ReadOnlyArrayGetDouble(Int32).) | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
(Overrides ReadOnlyArrayGetEnumerator.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt |
Gets the value at the given index as an Int32 (Overrides ReadOnlyArrayGetInt(Int32).) | |
GetLong |
Gets the value at the given index as an Int64 (Overrides ReadOnlyArrayGetLong(Int32).) | |
GetObject |
Gets the value at the given index as an untyped object
(Overrides ReadOnlyArrayGetObject(Int32).) | |
GetString |
Gets the value at the given index as a String (Overrides ReadOnlyArrayGetString(Int32).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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
(Overrides ReadOnlyArrayToList.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AnyAndEveryObject |
Returns whether or not the collection has at least one item AND at least one item
matching the given pattern
(Defined by LinqExtensionMethods.) |