This documentation is archived and is not being maintained.
Attachment Methods
Visual Studio 2010
The Attachment type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateAttachmentFromString(String, ContentType) | Creates a mail attachment using the content from the specified string, and the specified ContentType. |
|
CreateAttachmentFromString(String, String) | Creates a mail attachment using the content from the specified string, and the specified MIME content type name. |
|
CreateAttachmentFromString(String, String, Encoding, String) | Creates a mail attachment using the content from the specified string, the specified MIME content type name, character encoding, and MIME header information for the attachment. |
|
Dispose() | Releases the resources used by the AttachmentBase. (Inherited from AttachmentBase.) |
|
Dispose(Boolean) | Releases the unmanaged resources used by the AttachmentBase and optionally releases the managed resources. (Inherited from AttachmentBase.) |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (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.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: