Show / Hide Table of Contents

Class DocumentFragment

DocumentFragment provides access to a Document object. It also provides subscript access by key to the data values of the wrapped document.

Inheritance
System.Object
DocumentFragment
Implements
IDictionaryFragment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public sealed class DocumentFragment : IDictionaryFragment

Properties

| Improve this Doc View Source

Document

Gets the Document from the document fragment

Declaration
public Document Document { get; }
Property Value
Type Description
Document
| Improve this Doc View Source

Exists

Gets whether or not this document is in the database

Declaration
public bool Exists { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item[String]

Declaration
public IFragment this[string key] { get; }
Parameters
Type Name Description
System.String key
Property Value
Type Description
IFragment

Implements

IDictionaryFragment
  • Improve this Doc
  • View Source
Back to top Generated by DocFX