The FileAttachment type exposes the following members.

Constructors

  NameDescription
FileAttachment
Initializes a new instance of the FileAttachment class with default settings.

Methods

  NameDescription
Clone
Creates a new object that is a copy of the current instance.
(Inherited from SerializableBase.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadOverloaded.
Loads the attachment.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SaveOverloaded.
Saves the attachment.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Contents
Gets or sets the byte array containing the file's contents.
ContentsSpecified
Include the Contents property when serializing the class or generating the document.
FileType
Gets or sets the file type for the image file.
FileTypeSpecified
Include the FileType property when serializing the class or generating the document.
Name
Gets or sets the name of the file, including the file extension.
NameSpecified
Include the Name property when serializing the class or generating the document.

See Also