IWorkspaceItemFilterService.CreateFileMatcher Method
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.
Create file matcher from list or glob rules.
public Microsoft.VisualStudio.Workspace.ItemFilters.IWorkspaceFileMatcher CreateFileMatcher (System.Collections.Generic.IReadOnlyCollection<string> globRules, string root = default);
abstract member CreateFileMatcher : System.Collections.Generic.IReadOnlyCollection<string> * string -> Microsoft.VisualStudio.Workspace.ItemFilters.IWorkspaceFileMatcher
Public Function CreateFileMatcher (globRules As IReadOnlyCollection(Of String), Optional root As String = Nothing) As IWorkspaceFileMatcher
Parameters
- globRules
- IReadOnlyCollection<String>
list of rules
- root
- String
implied root for the rules, if null that will be workspace root
Returns
the implementing object