次の方法で共有


IMSBuildGlob Interface

Definition

Exposes the globbing semantics of the MSBuild engine.

public interface class IMSBuildGlob
public interface IMSBuildGlob
type IMSBuildGlob = interface
Public Interface IMSBuildGlob
Derived

Methods

IsMatch(String)

Matches the given stringToMatch against the glob. Matching is path aware:

  • slashes are normalized
  • arguments representing relative paths are normalized against the glob's root. For example, the glob **/*.cs does not match ../a.cs, since ../a.cs points outside of the glob root.

Returns false if stringToMatch contains invalid path or file characters.

Extension Methods

GetParsedGlobs(IMSBuildGlob)

Retrieve all the MSBuildGlob objects from the given glob composite.

Applies to