Click or drag to resize
Attachment Class
Represents a document attachment regardless whether it is a current version or not.
Inheritance Hierarchy
SystemObject
  CMS.DocumentEngineAttachment

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public sealed class Attachment

The Attachment type exposes the following members.

Constructors
  NameDescription
Public methodAttachment
Initializes a new instance of the Attachment class with the specified attachment or attachment version.
Top
Properties
  NameDescription
Public propertyContent
Gets the binary content of the attachment or attachment version.
Public propertyDescription
Gets the description of the attachment or attachment version.
Public propertyExtension
Gets the file name extension of the attachment or attachment version.
Public propertyGUID
Gets the globally unique identifier of the attachment or attachment version.
Public propertyHash
Gets the string representation of the the attachment or attachment version hash.
Public propertyImageHeight
Gets the height, in pixels, of the attachment or attachment version.
Public propertyImageWidth
Gets the width, in pixels, of the attachment or attachment version.
Public propertyLastModified
Gets the date and time when the attachment or attachment version was last modified.
Public propertyMimeType
Gets the MIME type of the the attachment or attachment version.
Public propertyName
Gets the file name of the attachment or attachment version.
Public propertySize
Gets the size, in bytes, of the attachment or attachment version.
Public propertyTitle
Gets the title of the attachment or attachment version.
Public propertyVersionID
Gets the identifier of the attachment version.
Top
See Also