The AttachmentData type exposes the following members.

Methods

  NameDescription
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.)
GetBytes
Gets the binary contents of a binary attachment.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetText
Gets the text contents of a text attachment.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadContents
Loads the attachment contents from a stream.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SaveContents
Saves the attachment contents to a stream.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
ContentDisposition
Gets or sets the content disposition of the attachment which indicates how the attachment has been stored.
ContentPath
Gets or sets the path of the attachment contents relative to the directory that contains the Xml serialized report, or null if the content is embedded.
ContentType
Gets or sets the content type of the attachment as a MIME type, not null.
IsText
Returns true if the attachment is textual, false if it is binary.
Name
Gets or sets the name of the attachment, not null.
SerializedContents
Gets or sets the attachment content serialized as text (including Base64 attachments), possibly null if none.
Type
Gets or sets the type of the attachment. This value specifies how the attachment is represented in Xml.

See Also