MailDefinitionBodyFileNameEditor.Filter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the list of file types for the MailDefinitionBodyFileNameEditor object to accept.
protected:
virtual property System::String ^ Filter { System::String ^ get(); };
protected override string Filter { get; }
member this.Filter : string
Protected Overrides ReadOnly Property Filter As String
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:
A user-friendly description.
A vertical bar (
|
).File specifications, separated by a semicolon (
;
).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.