MailDefinitionBodyFileNameEditor.Filter Property

Definition

Gets the list of file types for the MailDefinitionBodyFileNameEditor object to accept.

C#
protected override string Filter { get; }

Property Value

A string specifying a user-friendly name for each accepted file type and file specifications for each type.

Remarks

The format for the Filter property for each type is as follows:

  1. A user-friendly description.

  2. A vertical bar (|).

  3. File specifications, separated by a semicolon (;).

  4. Another vertical bar (|).

For example, a filter that specifies text files, HTML files, and all files would look like the following example, in EN-US locale:

Text Files(*.txt)|*.txt|HTML Files(*.htm;*.html)|*.htm;*.html|All Files(*.*)|*.*|

A localized version of this string is the default value for the Filter.

Notes to Inheritors

Override the Filter property to return a value that is different from the default.

Applies to

제품 버전
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also