XsdSchemaFileEditor.Filter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the URL filter options for the editor, which are used to filter the items that appear in the URL selection 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 represents one or more URL filter options for the dialog box.
Remarks
The Filter property is used by the EditValue method when calling the BuildUrl method, which displays the URL selection dialog box to the user at design time.
The Filter property default value indicates two URL filters for the dialog box: one for XML schema definition files (*.xsd) and another for all files (*.*).
To specify a custom filter string, derive a class from the XsdSchemaFileEditor class, and then override the Filter property to return the custom filter string.
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 Schema Files (*.xsd)|*.xsd|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 Schema Files (*.xs1; *.xs2)|*.xs1;*.xs2|All Files (*.*)|*.*
".
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기