TraceDefinition.IsMatch Method
Match if and only if: reference is null or comparand matches reference
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function IsMatch ( _
reference As String, _
comparand As String _
) As Boolean
public bool IsMatch(
string reference,
string comparand
)
public:
bool IsMatch(
String^ reference,
String^ comparand
)
member IsMatch :
reference:string *
comparand:string -> bool
public function IsMatch(
reference : String,
comparand : String
) : boolean
Parameters
reference
Type: System.StringWhat to compare to
comparand
Type: System.StringWhat is compared
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.