Matcher.AddInclude(String) 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.
Add a file name pattern that the matcher should use to discover files. 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 ^ AddInclude(System::String ^ pattern);
public virtual Microsoft.Extensions.FileSystemGlobbing.Matcher AddInclude (string pattern);
abstract member AddInclude : string -> Microsoft.Extensions.FileSystemGlobbing.Matcher
override this.AddInclude : string -> Microsoft.Extensions.FileSystemGlobbing.Matcher
Public Overridable Function AddInclude (pattern As String) As Matcher
Parameters
- pattern
- String
The globbing pattern.
Returns
The matcher.