Document T  ClassCouchbase .NET SDK 2.0
Provides an interface for interacting with documents within Couchbase Server
Inheritance Hierarchy
System Object
  Couchbase Document T 

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
public class Document<T> : IDocument<T>
Type Parameters
T
The type of document.

The Document T  type exposes the following members.

Constructors
  NameDescription
Public methodDocument T 
Initializes a new instance of the Document T  class
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 the current object.
(Inherited from Object.)
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 evicated from disk
Public propertyId
The unique identifier for the document
Top
See Also