ReadOnlyFragment Class |
Namespace: Couchbase.Lite
public class ReadOnlyFragment : IReadOnlyArrayFragment, IReadOnlyDictionaryFragment
The ReadOnlyFragment type exposes the following members.
Name | Description | |
---|---|---|
Exists |
Gets whether or not this object exists in the hierarchy
| |
ItemInt32 |
Gets the value of the given index, or lack thereof,
wrapped inside of a ReadOnlyFragment | |
ItemString |
Gets the value of the given key, or lack thereof,
wrapped inside of a ReadOnlyFragment | |
Value |
Gets the raw contained value of this object
|
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToArray |
Gets the contained value as a ReadOnlyArray | |
ToBlob |
Gets the contained value as a Blob | |
ToBoolean |
Gets the contained value as a Boolean | |
ToDate |
Gets the contained value as a DateTimeOffset | |
ToDictionary |
Gets the contained value as a ReadOnlyDictionary | |
ToDouble |
Gets the contained value as a Double | |
ToFloat |
Gets the contained value as a Single | |
ToInt |
Gets the contained value as an Int32 | |
ToLong |
Gets the contained value as an Int64 | |
ToObject |
Gets the contained value as an untyped object
| |
ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) |