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.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

protected:
virtual property String^ Filter {
	String^ get () override;
}
/** @property */
protected String get_Filter ()

protected override function get Filter () : String

Not applicable.

Property Value

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

The Filter property specifies a filter string with two filter options: one for XML files (*.xml), and one for all files (*.*).

A filter string contains one or more filter options. Each filter option 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 that contains two filter options: "XML Files (*.xml)|*.xml|All Files (*.*)|*.*".

You can specify several filter patterns in a filter option by separating the filter patterns with semicolons. The following is an example of a filter string in which the first filter option specifies two filter patterns: "Custom XML Files (*.xml;*.xlst)|*.xml;*.xlst|All Files (*.*)|*.*".

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: