MailDefinitionBodyFileNameEditor::Filter Property
Gets the list of file types for the MailDefinitionBodyFileNameEditor object to accept.
Assembly: System.Design (in System.Design.dll)
Property Value
Type: System::StringA string specifying a user-friendly name for each accepted file type and file specifications for each type.
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 InheritorsOverride the Filter property to return a value that is different from the default.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.