Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MatcherExtensions.AddExcludePatterns Method

Definition

Namespace:
Microsoft.Extensions.FileSystemGlobbing
Assembly:
Microsoft.Extensions.FileSystemGlobbing.dll
Package:
Microsoft.Extensions.FileSystemGlobbing v11.0.0-preview.5.26302.115
Source:
MatcherExtensions.cs
Source:
MatcherExtensions.cs
Source:
MatcherExtensions.cs
Source:
MatcherExtensions.cs

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.

Adds multiple exclude patterns to 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)())

Parameters

matcher
Matcher

The matcher to which the exclude patterns are added.

excludePatternsGroups
IEnumerable<String>[]

A list of globbing patterns.

Applies to

See also


Feedback

Was this page helpful?