PatternUtility.Match Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function Match ( _
toMatch As String, _
pattern As String _
) As Boolean
public static bool Match(
string toMatch,
string pattern
)
public:
static bool Match(
String^ toMatch,
String^ pattern
)
static member Match :
toMatch:string *
pattern:string -> bool
public static function Match(
toMatch : String,
pattern : String
) : boolean
Parameters
- toMatch
Type: System.String
- pattern
Type: System.String
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.