Share via


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)

Syntax

'Declaration
Public Function Equals ( _
    x As Workspace, _
    y As Workspace _
) As Boolean
public bool Equals(
    Workspace x,
    Workspace y
)
public:
virtual bool Equals(
    Workspace^ x, 
    Workspace^ y
) sealed
abstract Equals : 
        x:Workspace * 
        y:Workspace -> bool  
override Equals : 
        x:Workspace * 
        y:Workspace -> bool
public final function Equals(
    x : Workspace, 
    y : Workspace
) : boolean

Parameters

Return Value

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

Implements

IEqualityComparer<T>.Equals(T, T)

Remarks

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

.NET Framework Security

See Also

Reference

Workspace Class

Equals Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace