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
'Déclaration
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
- x
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The first Workspace instance to compare.
- y
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The second Workspace instance to compare.
Return Value
Type: System.Boolean
True if the two Workspace objects are equivalent. False otherwise.
Implements
IEqualityComparer<T>.Equals(T, T)
Remarks
Compares the repository, name, and owner.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.