In The Hand - .NET Components for Mobility
Attachment Class
NamespacesInTheHand.WindowsMobile.PocketOutlookAttachment
Represents an individual attachment.
Declaration Syntax
C#Visual Basic
public sealed class Attachment : IDisposable
Public NotInheritable Class Attachment _
	Implements IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Attachment(String)
This default constructor creates an attachment based on the specified fileName. The file should exist until the message has been sent or saved.

AttachmentData
Returns a stream used to access the attachment data.

Dispose()()()
Releases all resources used by the Attachment.

DownloadState
Returns the download state of the attachment.

Equals(Object)
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. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Length
Returns the length of the file in bytes.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets or sets the name of the attachment.

Properties
Gets the MailPropertySet. This object is used for accessing mail item properties.

Save(String)
Saves the attachment data to the specified full file path.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Attachment

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0