Attachment Class
Represents attachment file contained by email message, archive, PDF document or Outlook data file.
Inheritance Hierarchy
SystemObject
  GroupDocs.Viewer.ResultsAttachment

Namespace: GroupDocs.Viewer.Results
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.9
Syntax
[SerializableAttribute]
public class Attachment

The Attachment type exposes the following members.

Constructors
  NameDescription
Public methodAttachment(String, String)
Initializes new instance of Attachment class.
Public methodAttachment(String, String, String, Int64)
Initializes new instance of Attachment class.
Public methodAttachment(String, String, String, FileType, Int64)
Initializes new instance of Attachment class.
Properties
  NameDescription
Public propertyFileName
Attachment file name.
Public propertyCode exampleFilePath
Attachment relative path e.g.
Examples
folder/file.docx
or filename when the file is located in the root of an archive, in e-mail message or data file.
Public propertyFileType
Attachment file type.
Public propertyId
Unique identifier of the attachment in context of a single file that contains this attachment.
Public propertySize
Attachment file size in bytes.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
See Also