UserControlFileEditor.Filter 属性

定义

获取文件名筛选器字符串,它用于确定出现在对话框文件列表中的项。Gets the file name filter string 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

属性值

String

一个字符串(如“*.txt”),筛选对话框中的可用文件列表。A string that filters the list of files available in the dialog box, such as "*.txt".

适用于