Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Matcher.AddExclude(String) Method
Definition
- Namespace:
- Microsoft.Extensions.FileSystemGlobbing
- Assembly:
- Microsoft.Extensions.FileSystemGlobbing.dll
- Package:
- Microsoft.Extensions.FileSystemGlobbing v11.0.0-preview.5.26302.115
- Source:
- Matcher.cs
- Source:
- Matcher.cs
- Source:
- Matcher.cs
- Source:
- Matcher.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.
Add a file name pattern for files the matcher should exclude from the results. Patterns are relative to the root directory given when Execute(DirectoryInfoBase) is called.
Use the forward slash '/' to represent directory separator. Use '*' to represent wildcards in file and directory names. Use '**' to represent arbitrary directory depth. Use '..' to represent a parent directory.
public:
virtual Microsoft::Extensions::FileSystemGlobbing::Matcher ^ AddExclude(System::String ^ pattern);
public virtual Microsoft.Extensions.FileSystemGlobbing.Matcher AddExclude(string pattern);
abstract member AddExclude : string -> Microsoft.Extensions.FileSystemGlobbing.Matcher
override this.AddExclude : string -> Microsoft.Extensions.FileSystemGlobbing.Matcher
Public Overridable Function AddExclude (pattern As String) As Matcher
Parameters
- pattern
- String
The globbing pattern.
Returns
The matcher.
Applies to
Feedback
Was this page helpful?
