This documentation is archived and is not being maintained.

Workspace.MatchName Method

Compares two workspace names and returns true if they match. Comparisons are case insensitive.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public static bool MatchName (
	string workspaceName1,
	string workspaceName2
public static boolean MatchName (
	String workspaceName1, 
	String workspaceName2
public static function MatchName (
	workspaceName1 : String, 
	workspaceName2 : String
) : boolean



The first workspace name to compare.


The second workspace name to compare.

Return Value

true if the names match; otherwise false.