The AttachmentBase type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetContentLength
Gets the length of the attachment.
Public methodSupported by the .NET Compact FrameworkGetContentStream()()()()
Returns the read-only stream representing a content of this attachment.
Public methodSupported by the .NET Compact FrameworkGetContentStream(Boolean)
Returns the stream representing a content of this attachment.
Public methodSupported by the .NET Compact FrameworkGetHashCode
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.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSave(Stream)
Writes the content of the attachment into the supplied stream.
Public methodSupported by the .NET Compact FrameworkSave(String)
Writes the content of the attachment or view into a supplied file.
Public methodSupported by the .NET Compact FrameworkSetContent(String)
Sets the content of this attachment to the specified text.
Public methodSupported by the .NET Compact FrameworkSetContent(String, String)
Sets the content of this attachment to the specified text and media type.
Public methodSupported by the .NET Compact FrameworkSetContent(String, String, Encoding)
Sets the content of this attachment to the specified text, media type and character set.
Public methodSupported by the .NET Compact FrameworkSetContent(String, String, Encoding, TransferEncoding)
Sets the content of this attachment to the specified text, media type and character set.
Public methodSupported by the .NET Compact FrameworkToMimeEntity
Converts this instance to a MimeEntity.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also