Share via


DialogFilter(String, String[]) Constructor

Definition

Initializes a new instance of the DialogFilter class.

public DialogFilter (string displayValue, params string[] filters);
new Microsoft.VisualStudio.Extensibility.Shell.FileDialog.DialogFilter : string * string[] -> Microsoft.VisualStudio.Extensibility.Shell.FileDialog.DialogFilter
Public Sub New (displayValue As String, ParamArray filters As String())

Parameters

displayValue
String

The display value of the filter (e.g., "C++ files").

filters
String[]

An array of filters, e.g. for C++ files, the filters are [".cpp", ".hpp", "*.h"].

Applies to