共用方式為


MatcherExtensions.AddExcludePatterns 方法

定義

將多個排除模式新增至 Matcher

public:
[System::Runtime::CompilerServices::Extension]
 static void AddExcludePatterns(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, ... cli::array <System::Collections::Generic::IEnumerable<System::String ^> ^> ^ excludePatternsGroups);
public static void AddExcludePatterns (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, params System.Collections.Generic.IEnumerable<string>[] excludePatternsGroups);
static member AddExcludePatterns : Microsoft.Extensions.FileSystemGlobbing.Matcher * seq<string>[] -> unit
<Extension()>
Public Sub AddExcludePatterns (matcher As Matcher, ParamArray excludePatternsGroups As IEnumerable(Of String)())

參數

matcher
Matcher

要新增排除模式的比對器。

excludePatternsGroups
IEnumerable<String>[]

通配符模式的清單。

適用於

另請參閱