ReadOnlyArray Class |
Namespace: Couchbase.Lite
public class ReadOnlyArray : IReadOnlyArray, IReadOnlyArrayFragment, IEnumerable<Object>, IEnumerable
The ReadOnlyArray type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of elements in the collection
| |
Item |
Gets the value of the given index, or lack thereof,
wrapped inside of a ReadOnlyFragment |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetArray |
Gets the value at the given index as a read only array
| |
GetBlob |
Gets the value at the given index as a Blob | |
GetBoolean |
Gets the value at the given index as a Boolean | |
GetDate |
Gets the value at the given index as a DateTimeOffset | |
GetDictionary |
Gets the value at the given index as an IReadOnlyDictionary | |
GetDouble |
Gets the value at the given index as a Double | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt |
Gets the value at the given index as an Int32 | |
GetLong |
Gets the value at the given index as an Int64 | |
GetObject |
Gets the value at the given index as an untyped object
| |
GetString |
Gets the value at the given index as a String | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToList |
Converts this object to a standard .NET collection
| |
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.) |