Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PathMatcher.Match(String, String) Method

Determines if a given path matches a NAnt-like pattern.

[Visual Basic]
Public Overloads Shared Sub Match( _
   ByVal pattern As String, _
   ByVal path As String _
public static bool Match(
   string pattern,
   string path


A forward or back-slashed fileset-like pattern.
A forward or back-slashed full path.

Return Value

true if the path is matched by the pattern; otherwise false.

See Also

PathMatcher Class | Spring.Util Namespace | PathMatcher.Match Overload List