Attachment Members | MSG .NET Class Library |
The Attachment type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Attachment |
Initializes a new instance of the Attachment class.
| |
Attachment(String) |
Initializes a new instance of the Attachment class based on the supplied file.
| |
Attachment(String, Byte ) |
Initializes a new instance of the Attachment class based on the supplied byte array.
| |
Attachment(String, Stream) |
Initializes a new instance of the Attachment class based on the supplied stream.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBuffer |
Gets bytes to read from this attachment.
| |
GetBytes |
Gets bytes to read from this attachment.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetStream |
Gets stream to read from this attachment.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save(Stream) |
Saves this attachment to the specified stream.
| |
Save(String) |
Saves this attachment to the specified file.
| |
Save(String, Boolean) |
Saves this attachment to the specified file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AdditionalInfo |
Provides file type information for a non-Windows attachment.
| |
ContentBase |
Contains the content base header of a MIME message attachment.
| |
ContentDisposition |
Contains the content disposition header of a MIME message attachment.
| |
ContentId |
Contains the content identification header of a MIME message attachment.
| |
ContentLocation |
Contains the content location header of a MIME message attachment.
| |
CreationTime |
Contains the creation date and time of the attachment.
| |
Data |
Contains binary attachment data.
| |
DataObject |
Contains attachment's data as embedded object.
| |
DataObjectStorage |
Gets or sets the data object storage.
| |
DisplayName |
Contains the display name of the attachment.
| |
EmbeddedMessage |
Contains Message object if the attachment is an embedded Message.
| |
Encoding |
Contains the encoding for an attachment.
| |
Extension |
Contains a file name extension that indicates the document type of an attachment.
| |
FileName |
Contains an attachment's base file name and extension, excluding path.
| |
Flags |
Contains flags for an attachment.
| |
IsContactPhoto |
Indicates whether this attachment is a contact photo.
| |
IsHidden |
Indicates whether an attachment is hidden from the end user.
| |
LastModificationTime |
Contains the date and time when the attachment was last modified.
| |
LongFileName |
Contains an attachment's long filename and extension, excluding path.
| |
LongPathName |
Contains an attachment's fully-qualified long path and filename.
| |
Method |
Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
| |
MimeSequence |
Contains the MIME sequence number of a MIME message attachment.
| |
MimeTag |
Contains formatting information about a MIME attachment.
| |
ObjectType |
Contains the type of the attachment.
| |
PathName |
Contains an attachment's fully-qualified path and filename.
| |
RecordKey |
Contains the record key for an attachment.
| |
Rendering |
Contains a Microsoft Windows metafile with rendering information for an attachment.
| |
RenderingPosition |
Contains rendering position index.
| |
Size |
Contains attachment's size in bytes.
| |
Tag |
Contains an object identifier specifying the application that supplied an attachment.
| |
TransportName |
Contains the name of an attachment file modified so that it can be associated with TNEF messages.
|
See Also