Click or drag to resize

ReadOnlyDocument Class

A class representing a document which cannot be altered
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public class ReadOnlyDocument : ReadOnlyDictionary, 
	IDisposable

The ReadOnlyDocument type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of entries in the dictionary
(Inherited from ReadOnlyDictionary.)
Public propertyId
Gets this document's unique ID
Public propertyIsDeleted
Gets whether or not this document is deleted
Public propertyItem
Gets the value of the given key, or lack thereof, wrapped inside of a ReadOnlyFragment
(Inherited from ReadOnlyDictionary.)
Public propertyKeys
Gets all the keys held by this dictionary
(Inherited from ReadOnlyDictionary.)
Public propertySequence
Gets the sequence of this document (a unique incrementing number identifying its status in a database)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from ReadOnlyDictionary.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Used for disposing this object
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer
(Overrides ObjectFinalize.)
Public methodGetArray
Gets the value of a given key as an IReadOnlyArray
(Inherited from ReadOnlyDictionary.)
Public methodGetBlob
Gets the value of a given key as a Blob
(Inherited from ReadOnlyDictionary.)
Public methodGetBoolean
Gets the value of a given key as a Boolean
(Inherited from ReadOnlyDictionary.)
Public methodGetDate
Gets the value of a given key as a DateTimeOffset
(Inherited from ReadOnlyDictionary.)
Public methodGetDictionary
Gets the value of a given key as a readonly dictionary
(Inherited from ReadOnlyDictionary.)
Public methodGetDouble
Gets the value of a given key as a Double
(Inherited from ReadOnlyDictionary.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from ReadOnlyDictionary.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Gets the value of a given key as an Int32
(Inherited from ReadOnlyDictionary.)
Public methodGetLong
Gets the value of a given key as an Int64
(Inherited from ReadOnlyDictionary.)
Public methodGetObject
Gets the value of a given key as an untyped object
(Inherited from ReadOnlyDictionary.)
Public methodGetString
Gets the value of a given key as a String
(Inherited from ReadOnlyDictionary.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDictionary (Inherited from ReadOnlyDictionary.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also