Click or drag to resize
DocumentT Class
Provides an interface for interacting with documents within Couchbase Server
Inheritance Hierarchy
SystemObject
  CouchbaseDocumentT

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.7.4-rev-0
Syntax
public class Document<T> : IDocument<T>, 
	IDocument

Type Parameters

T
The type of document.

The DocumentT type exposes the following members.

Constructors
  NameDescription
Public methodDocumentT
Initializes a new instance of the DocumentT class
Top
Properties
  NameDescription
Public propertyCas
The "Check and Set" value for enforcing optimistic concurrency
Public propertyContent
The value representing the document itself
Public propertyExpiry
The time-to-live or TTL for the document before it's evicted from disk in milliseconds.
Public propertyId
The unique identifier for the document
Public propertyToken
Gets the mutation token for the operation if enhanced durability is enabled.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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 methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also