EmailAttachment MembersKentico 8.0 API Reference
The EmailAttachment type exposes the following members.
Constructors

  NameDescription
Public methodEmailAttachment(String)
Initializes a new instance of the EmailAttachment class with the specified content string.
Public methodEmailAttachment(String, ContentType)
Initializes a new instance of the EmailAttachment class with the specified content string and System.Net.Mime.ContentType.
Public methodEmailAttachment(String, String)
Initializes a new instance of the EmailAttachment class with the specified content string and MIME type information.
Public methodEmailAttachment(Stream, ContentType)
Initializes a new instance of the EmailAttachment class with the specified stream and content type.
Public methodEmailAttachment(Stream, String)
Initializes a new instance of the EmailAttachment class with the specified stream and name.
Public methodEmailAttachment(Stream, String, String)
Initializes a new instance of the EmailAttachment class with the specified stream, name and MIME type information.
Public methodEmailAttachment(Stream, String, Guid, DateTime, Int32)
Initializes a new instance of the EmailAttachment class with the specified stream, name, GUID, time stamp and site ID.
Back to Top
Methods

  NameDescription
Public methodOnlineDispose 
Releases the resources used by the OnlineAttachmentBase.
(Inherited from OnlineAttachmentBase.)
Protected methodOnlineDispose(Boolean)
Releases the unmanaged resources used by the OnlineAttachmentBase and optionally releases the managed resources.
(Inherited from OnlineAttachmentBase.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyAttachmentGUID
GUID of the attachment's source object (e.g. MetaFileGUID).
Public propertyOnlineContentDisposition
Gets the MIME content disposition for this attachment.
(Inherited from OnlineAttachment.)
Public propertyOnlineContentId
Gets or sets the MIME content ID for this attachment.
(Inherited from OnlineAttachmentBase.)
Public propertyOnlineContentStream
Gets the content stream of this attachment.
(Inherited from OnlineAttachmentBase.)
Public propertyOnlineContentType
Gets the content type of this attachment.
(Inherited from OnlineAttachmentBase.)
Public propertyLastModified
Last modification time of the attachement's source object.
Public propertyOnlineName
Gets or sets the MIME content type name value in the content type associated with this attachment.
(Inherited from OnlineAttachment.)
Public propertyOnlineNameEncoding
Specifies the encoding for the OnlineAttachmentOnlineName.
(Inherited from OnlineAttachment.)
Public propertySiteID
Site ID of the attachment's source object.
Public propertyOnlineTransferEncoding
Gets or sets the encoding of this attachment.
(Inherited from OnlineAttachmentBase.)
Back to Top
See Also