Table of Contents

Class EmailAttachmentInfo

Namespace
CMS.EmailEngine
Assembly
CMS.EmailEngine.dll

EmailAttachmentInfo data container class.

public class EmailAttachmentInfo : AbstractInfo<EmailAttachmentInfo, IEmailAttachmentInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId
Inheritance
object
EmailAttachmentInfo
Implements
Inherited Members
Extension Methods

Constructors

EmailAttachmentInfo()

Constructor - Creates an empty EmailAttachmentInfo object.

public EmailAttachmentInfo()

EmailAttachmentInfo(DataRow)

Constructor - Creates a new EmailAttachmentInfo object from the given DataRow.

public EmailAttachmentInfo(DataRow dr)

Parameters

dr DataRow

Fields

OBJECT_TYPE

Object type

public const string OBJECT_TYPE = "cms.emailattachment"

Field Value

string

TYPEINFO

Type information.

public static ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

AttachmentBinary

Attachment binary data.

public virtual byte[] AttachmentBinary { get; set; }

Property Value

byte[]

AttachmentContentID

Attachment ContentId.

public virtual string AttachmentContentID { get; set; }

Property Value

string

AttachmentExtension

Attachment extension.

public virtual string AttachmentExtension { get; set; }

Property Value

string

AttachmentGUID

Attachment GUID.

public virtual Guid AttachmentGUID { get; set; }

Property Value

Guid

AttachmentID

Attachment ID.

public virtual int AttachmentID { get; set; }

Property Value

int

AttachmentLastModified

Attachment last modified DateTime.

public virtual DateTime AttachmentLastModified { get; set; }

Property Value

DateTime

AttachmentMimeType

Attachment type.

public virtual string AttachmentMimeType { get; set; }

Property Value

string

AttachmentName

Attachment name.

public virtual string AttachmentName { get; set; }

Property Value

string

AttachmentSize

Attachment size.

public virtual int AttachmentSize { get; set; }

Property Value

int

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()