Export (0) Print
Expand All

Workspace.Equals Method (Workspace, Workspace)

Compares two Workspace objects for equivalence.

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

public bool Equals(
	Workspace x,
	Workspace y
)

Parameters

x
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace

The first Workspace object to compare.

y
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace

The second Workspace object to compare.

Return Value

Type: System.Boolean
True if the two Workspace objects are equivalent; otherwise, false.

Implements

IEqualityComparer<T>.Equals(T, T)

Compares the repository, workspace name, and the workspace owner name.

Show:
© 2014 Microsoft