Bewerken

Delen via


XslUrlEditor.Filter Property

Definition

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.

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 that contains information about the file filtering options available in the dialog box.

Remarks

The Filter property specifies a filter string with two filter options: one for XSL files (*.xsl;*.xslt), 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: "XSLT Files (*.xslt)|*.xslt|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: "XSL Files (*.xslt;*.xsl)|*.xslt;*.xsl|All Files (*.*)|*.*".

Applies to