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
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| IsMatch(String) |
Matches the given |
| MatchInfo(String) |
Similar to IsMatch(String) but also provides the match groups for the glob parts |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| Parse(String) |
See Parse(String, String). The glob root, if the glob is not fully qualified, will be the current working directory. |
| Parse(String, String) |
Parse the given |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
| GetParsedGlobs(IMSBuildGlob) |
Retrieve all the MSBuildGlob objects from the given |