The EmailAttachment type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| EmailAttachment(String) |
Initializes a new instance of the EmailAttachment class with the specified content string.
| |
| EmailAttachment(String, ContentType) |
Initializes a new instance of the EmailAttachment class with the specified content string and System.Net.Mime.ContentType.
| |
| EmailAttachment(String, String) |
Initializes a new instance of the EmailAttachment class with the specified content string and MIME type information.
| |
| EmailAttachment(Stream, ContentType) |
Initializes a new instance of the EmailAttachment class with the specified stream and content type.
| |
| EmailAttachment(Stream, String) |
Initializes a new instance of the EmailAttachment class with the specified stream and name.
| |
| EmailAttachment(Stream, String, String) |
Initializes a new instance of the EmailAttachment class with the specified stream, name and MIME type information.
| |
| EmailAttachment(Stream, String, Guid, DateTime, Int32) |
Initializes a new instance of the EmailAttachment class with the specified stream, name, GUID, time stamp and site ID.
|
Methods
| Name | Description | |
|---|---|---|
Releases the resources used by the (Inherited from | ||
Releases the unmanaged resources used by the (Inherited from | ||
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
| Name | Description | |
|---|---|---|
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
| Name | Description | |
|---|---|---|
| AttachmentGUID |
GUID of the attachment's source object (e.g. MetaFileGUID).
| |
Gets the MIME content disposition for this attachment. (Inherited from | ||
Gets or sets the MIME content ID for this attachment. (Inherited from | ||
Gets the content stream of this attachment. (Inherited from | ||
Gets the content type of this attachment. (Inherited from | ||
| LastModified |
Last modification time of the attachement's source object.
| |
Gets or sets the MIME content type name value in the content type associated with this attachment. (Inherited from | ||
| (Inherited from | ||
| SiteID |
Site ID of the attachment's source object.
| |
Gets or sets the encoding of this attachment. (Inherited from |
See Also