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
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public sealed class DocumentFragment : object, 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
Back to top Generated by DocFX