DialogFilter Constructors
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.
Overloads
DialogFilter(String, IReadOnlyCollection<String>) |
Initializes a new instance of the DialogFilter class. |
DialogFilter(String, String[]) |
Initializes a new instance of the DialogFilter class. |
DialogFilter(String, IReadOnlyCollection<String>)
Initializes a new instance of the DialogFilter class.
public DialogFilter (string displayValue, System.Collections.Generic.IReadOnlyCollection<string> filters);
new Microsoft.VisualStudio.Shell.FileDialog.DialogFilter : string * System.Collections.Generic.IReadOnlyCollection<string> -> Microsoft.VisualStudio.Shell.FileDialog.DialogFilter
Public Sub New (displayValue As String, filters As IReadOnlyCollection(Of String))
Parameters
- displayValue
- String
The display value of the filter (e.g., "C++ files").
- filters
- IReadOnlyCollection<String>
A collection of file extensions associated with the filter (e.g., [ ".cpp", ".cxx", "*.h" ]).
Applies to
DialogFilter(String, String[])
Initializes a new instance of the DialogFilter class.
public DialogFilter (string displayValue, params string[] filters);
new Microsoft.VisualStudio.Shell.FileDialog.DialogFilter : string * string[] -> Microsoft.VisualStudio.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 file filters associated with the filter (e.g., [ ".cpp", ".cxx", "*.h" ]).