This documentation is archived and is not being maintained.

UrlEditor.Filter Property

Gets the file name filter string for the editor. This is used to determine the items that appear in the file list of the dialog box.

[Visual Basic]
Protected Overridable ReadOnly Property Filter As String
[C#]
protected virtual string Filter {get;}
[C++]
protected: __property virtual String* get_Filter();
[JScript]
protected function get Filter() : String;

Property Value

A string that contains information about the file filtering options available in the dialog box.

Remarks

For each filtering option, the filter string contains a description of the filter, followed by the vertical bar (|) and the filter pattern. A semicolon can be used to specify a set of several different file extensions to filter for. The strings for different filtering options are separated by the vertical bar.

The following is an example of a filter string: "Text files (*.txt)|*.txt|All files (*.*)|*.*"

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

UrlEditor Class | UrlEditor Members | System.Web.UI.Design Namespace

Show: