Attachment Members

Independentsoft MSG .NET

Attachment Members MSG .NET Class Library
The Attachment type exposes the following members.
Constructors

  NameDescription
Public methodAttachment 
Initializes a new instance of the Attachment class.
Public methodAttachment(String)
Initializes a new instance of the Attachment class based on the supplied file.
Public methodAttachment(String,  Byte )
Initializes a new instance of the Attachment class based on the supplied byte array.
Public methodAttachment(String, Stream)
Initializes a new instance of the Attachment class based on the supplied stream.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetBuffer
Gets bytes to read from this attachment.
Public methodGetBytes
Gets bytes to read from this attachment.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetStream
Gets stream to read from this attachment.
Public methodOnlineGetType
Gets the type of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSave(Stream)
Saves this attachment to the specified stream.
Public methodSave(String)
Saves this attachment to the specified file.
Public methodSave(String, Boolean)
Saves this attachment to the specified file.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAdditionalInfo
Provides file type information for a non-Windows attachment.
Public propertyContentBase
Contains the content base header of a MIME message attachment.
Public propertyContentDisposition
Contains the content disposition header of a MIME message attachment.
Public propertyContentId
Contains the content identification header of a MIME message attachment.
Public propertyContentLocation
Contains the content location header of a MIME message attachment.
Public propertyCreationTime
Contains the creation date and time of the attachment.
Public propertyData
Contains binary attachment data.
Public propertyDataObject
Contains attachment's data as embedded object.
Public propertyDataObjectStorage
Gets or sets the data object storage.
Public propertyDisplayName
Contains the display name of the attachment.
Public propertyEmbeddedMessage
Contains Message object if the attachment is an embedded Message.
Public propertyEncoding
Contains the encoding for an attachment.
Public propertyExtension
Contains a file name extension that indicates the document type of an attachment.
Public propertyFileName
Contains an attachment's base file name and extension, excluding path.
Public propertyFlags
Contains flags for an attachment.
Public propertyIsContactPhoto
Indicates whether this attachment is a contact photo.
Public propertyIsHidden
Indicates whether an attachment is hidden from the end user.
Public propertyLastModificationTime
Contains the date and time when the attachment was last modified.
Public propertyLongFileName
Contains an attachment's long filename and extension, excluding path.
Public propertyLongPathName
Contains an attachment's fully-qualified long path and filename.
Public propertyMethod
Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
Public propertyMimeSequence
Contains the MIME sequence number of a MIME message attachment.
Public propertyMimeTag
Contains formatting information about a MIME attachment.
Public propertyObjectType
Contains the type of the attachment.
Public propertyPathName
Contains an attachment's fully-qualified path and filename.
Public propertyRecordKey
Contains the record key for an attachment.
Public propertyRendering
Contains a Microsoft Windows metafile with rendering information for an attachment.
Public propertyRenderingPosition
Contains rendering position index.
Public propertySize
Contains attachment's size in bytes.
Public propertyTag
Contains an object identifier specifying the application that supplied an attachment.
Public propertyTransportName
Contains the name of an attachment file modified so that it can be associated with TNEF messages.
Back to Top
See Also