Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MailDefinitionBodyFileNameEditor Class
Collapse the table of content
Expand the table of content

MailDefinitionBodyFileNameEditor Class

Provides an editor for selecting message body files in a MailDefinition object.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public class MailDefinitionBodyFileNameEditor : UrlEditor
public class MailDefinitionBodyFileNameEditor extends UrlEditor
public class MailDefinitionBodyFileNameEditor extends UrlEditor
Not applicable.

The MailDefinitionBodyFileNameEditor class provides a user interface for selecting a file for the BodyFileName property of a MailDefinition object. The BodyFileName specifies the file that contains the e-mail message body.

The MailDefinition objects define the content and format of the e-mail notification messages that are sent by controls. For example, the CreateUserWizard, ChangePassword and PasswordRecovery controls use the MailDefinitionBodyFileNameEditor.

The MailDefinitionBodyFileNameEditor is invoked, for example, by selecting the ellipsis () button on the BodyFileName property, under MailDefinition, in the Properties grid of the visual designer.

The Caption property specifies the caption that is to appear on the MailDefinitionBodyFileNameEditor form. The Filter property returns the list of file types that is to be accepted by the MailDefinitionBodyFileNameEditor.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2015 Microsoft