Click or drag to resize

ReadOnlyFragment Class

A class representing an arbitrary readonly entry in a key path (e.g. object["key"][index]["next_key"], etc)
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0074
Syntax
C#
public class ReadOnlyFragment : IReadOnlyArrayFragment, 
	IReadOnlyDictionaryFragment

The ReadOnlyFragment type exposes the following members.

Properties
  NameDescription
Public propertyExists
Gets whether or not this object exists in the hierarchy
Public propertyItemInt32
Gets the value of the given index, or lack thereof, wrapped inside of a ReadOnlyFragment
Public propertyItemString
Gets the value of the given key, or lack thereof, wrapped inside of a ReadOnlyFragment
Public propertyValue
Gets the raw contained value of this object
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToArray
Gets the contained value as a ReadOnlyArray
Public methodToBlob
Gets the contained value as a Blob
Public methodToBoolean
Gets the contained value as a Boolean
Public methodToDate
Gets the contained value as a DateTimeOffset
Public methodToDictionary
Gets the contained value as a ReadOnlyDictionary
Public methodToDouble
Gets the contained value as a Double
Public methodToInt
Gets the contained value as an Int32
Public methodToLong
Gets the contained value as an Int64
Public methodToObject
Gets the contained value as an untyped object
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also