This documentation is archived and is not being maintained.

XmlUrlEditor.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]
Overrides Protected ReadOnly Property Filter As String
[C#]
protected override string Filter {get;}
[C++]
protected: __property String* get_Filter();
[JScript]
protected override function get Filter() : String;

Property Value

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

Remarks

This property indicates two file type filters for the dialog box: one for XML files (*.XML) and another for All files (*.*).

For each filtering option, the filter string contains a description of the filter, followed by the vertical bar (|) and the filter pattern. 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

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

Show: