Click or drag to resize

Attachment Class

A Couchbase Lite Document Attachment.
Inheritance Hierarchy
SystemObject
  Couchbase.LiteAttachment

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public sealed class Attachment : IDisposable

The Attachment type exposes the following members.

Properties
  NameDescription
Public propertyContent
Gets the Attachment content.
Public propertyContentStream
Get the Attachment content stream. The caller must not dispose it.
Public propertyContentType
Gets the content-type.
Public propertyDocument
Gets the owning Document.
Public propertyLength
Gets the length in bytes of the content.
Public propertyMetadata
The CouchbaseLite metadata about the attachment, that lives in the document.
Public propertyName
Gets the name of the Attachment.
Public propertyRevision
Gets the owning Revision.
Top
Methods
  NameDescription
Public methodDispose
Releases all resource used by the Attachment object.
Top
See Also