Click or drag to resize
AttachmentHelper Class
Methods to work with the files representing attachments.
Inheritance Hierarchy
SystemObject
  CMS.HelpersAttachmentHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static class AttachmentHelper

The AttachmentHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFilesFolder
Gets custom file folder path.
Public methodStatic memberGetFileRelativePath
Returns file relative path due to files folder.
Public methodStatic memberGetFileSubfolder
Gets the file subfolder (first two letters from the file name).
Public methodStatic memberGetFullFileName
Returns full file name ([name.extension] if extension is specified) or ([name] only if extension is not specified), If width and height are specified, thumbnail file name is generated.
Public methodStatic memberUseSiteSpecificCustomFolder
Indicates if site specific custom folder should be used for storing files.
Top
Properties
  NameDescription
Public propertyStatic memberScriptTimeout
Gets or sets the script timeout in seconds.
Top
See Also