MSBuildGlob Class
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.
Represents a parsed MSBuild glob. An MSBuild glob is composed of three parts:
- fixed directory part: "a/b/" in "a/b//test//*.cs"
- wildcard directory part: "/test//" in "a/b//test//*.cs"
- file name part: ".cs" in "a/b//test//.cs"
public ref class MSBuildGlob : Microsoft::Build::Globbing::IMSBuildGlob
public class MSBuildGlob : Microsoft.Build.Globbing.IMSBuildGlob
type MSBuildGlob = class
interface IMSBuildGlob
Public Class MSBuildGlob
Implements IMSBuildGlob
- Inheritance
-
MSBuildGlob
- Implements
Properties
FilenamePart |
The file name part |
FixedDirectoryPart |
The fixed directory part. |
IsLegal |
Whether the glob was parsed sucsesfully from a string. Illegal glob strings contain:
|
WildcardDirectoryPart |
The wildcard directory part |
Methods
IsMatch(String) |
Matches the given |
MatchInfo(String) |
Similar to IsMatch(String) but also provides the match groups for the glob parts |
Parse(String, String) |
Parse the given |
Parse(String) |
See Parse(String, String). The glob root, if the glob is not fully qualified, will be the current working directory. |
Extension Methods
GetParsedGlobs(IMSBuildGlob) |
Retrieve all the MSBuildGlob objects from the given |