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 | |
---|---|---|
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 | (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.) |
Extension Methods
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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).
| |
ContentDisposition | Gets the MIME content disposition for this attachment. (Inherited from Attachment.) | |
ContentId | Gets or sets the MIME content ID for this attachment. (Inherited from AttachmentBase.) | |
ContentStream | Gets the content stream of this attachment. (Inherited from AttachmentBase.) | |
ContentType | Gets the content type of this attachment. (Inherited from AttachmentBase.) | |
LastModified |
Last modification time of the attachement's source object.
| |
Name | Gets or sets the MIME content type name value in the content type associated with this attachment. (Inherited from Attachment.) | |
NameEncoding | Specifies the encoding for the AttachmentName. (Inherited from Attachment.) | |
SiteID |
Site ID of the attachment's source object.
| |
TransferEncoding | Gets or sets the encoding of this attachment. (Inherited from AttachmentBase.) |
See Also