MatcherExtensions.AddExcludePatterns 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將多個排除模式新增至 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>[]
通配符模式的清單。