Workspace.MatchName Method

Compares two workspace names.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

声明
Public Shared Function MatchName ( _
    workspaceName1 As String, _
    workspaceName2 As String _
) As Boolean
public static bool MatchName(
    string workspaceName1,
    string workspaceName2
)
public:
static bool MatchName(
    String^ workspaceName1, 
    String^ workspaceName2
)
static member MatchName : 
        workspaceName1:string * 
        workspaceName2:string -> bool 
public static function MatchName(
    workspaceName1 : String, 
    workspaceName2 : String
) : boolean

Parameters

  • workspaceName1
    Type: System.String
    The first workspace name to compare.
  • workspaceName2
    Type: System.String
    The second workspace name to compare.

Return Value

Type: System.Boolean
True if the names match; otherwise, false.

Remarks

This method is case-insensitive.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace