System.Web.UI.WebControls.EmbeddedMailObjectsCollection Class

Represents an ordered set of System.Web.UI.WebControls.EmbeddedMailObject objects.

See Also: EmbeddedMailObjectsCollection Members

Syntax

public sealed class EmbeddedMailObjectsCollection : CollectionBase

Remarks

The System.Web.UI.WebControls.EmbeddedMailObjectsCollection stores references to items that will be embedded in an e-mail message. The embedded items can be image files such as company logos. The System.Web.UI.WebControls.EmbeddedMailObjectsCollection is used by the MailDefinition.EmbeddedObjects property of the System.Web.UI.WebControls.MailDefinition object.

E-mail messages that allow embedded objects are configurable in the following Web controls by setting their System.Web.UI.WebControls.MailDefinition properties declaratively:

Note:

The values in the System.Web.UI.WebControls.EmbeddedMailObject and System.Web.UI.WebControls.EmbeddedMailObjectsCollection objects are not stored in view state. This protects against malicious users discovering path information for your server.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0