Fragment Class |
Namespace: Couchbase.Lite
public class Fragment : IArrayFragment, IDictionaryFragment
The Fragment 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 Fragment | |
ItemString |
Gets the value of the given key, or lack thereof,
wrapped inside of a Fragment | |
Value |
Gets the value of the fragment as an untyped object (set will throw)
|
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 ArrayObject | |
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 DictionaryObject | |
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.) |
Name | Description | |
---|---|---|
_index |
The index into the parent for this fragment, if applicable
| |
_key |
The string key into the parent for this fragment, if applicable
| |
_parent |
The parent object of this fragment
| |
Null |
A "null" fragment object (i.e. one that represents "no value")
|