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]

Gets the value of the given key, or lack thereof, wrapped inside of a IFragment

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

The key to check

Property Value
Type Description
IFragment

The value of the given key, or lack thereof

Implements

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