MSBuildGlob.Parse Method

Definition

Overloads

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 fileSpec into a MSBuildGlob using a given globRoot.

Parse(String)

See Parse(String, String). The glob root, if the glob is not fully qualified, will be the current working directory.

public:
 static Microsoft::Build::Globbing::MSBuildGlob ^ Parse(System::String ^ fileSpec);
public static Microsoft.Build.Globbing.MSBuildGlob Parse (string fileSpec);
static member Parse : string -> Microsoft.Build.Globbing.MSBuildGlob
Public Shared Function Parse (fileSpec As String) As MSBuildGlob

Parameters

fileSpec
String

Returns

Applies to

Parse(String, String)

Parse the given fileSpec into a MSBuildGlob using a given globRoot.

public:
 static Microsoft::Build::Globbing::MSBuildGlob ^ Parse(System::String ^ globRoot, System::String ^ fileSpec);
public static Microsoft.Build.Globbing.MSBuildGlob Parse (string globRoot, string fileSpec);
static member Parse : string * string -> Microsoft.Build.Globbing.MSBuildGlob
Public Shared Function Parse (globRoot As String, fileSpec As String) As MSBuildGlob

Parameters

globRoot
String

The root of the glob. The fixed directory part of the glob and the match arguments (IsMatch(String) and MatchInfo(String)) will get normalized against this root. If empty, the current working directory is used. Cannot be null, and cannot contain invalid path arguments.

fileSpec
String

The string to parse

Returns

Applies to