Click or drag to resize
Attachment Class

Note: This API is now obsolete.

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: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use CMS.DocumentEngine.DocumentAttachment instead.")]
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.
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 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 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
Extension Methods
  NameDescription
Public Extension MethodGetPath
Returns relative path for the attachment.
(Defined by AttachmentExtensions.)
Top
See Also