This documentation is archived and is not being maintained.

Workspace::MatchName Method

Compares two workspace names.

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

public:
static bool MatchName(
	String^ workspaceName1, 
	String^ workspaceName2
)

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.

This method is case-insensitive.

Show: