WorkspaceInfo.Equals Method
Compares this WorkspaceInfo instance with another.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Декларация
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
public override bool Equals(
Object obj
)
public:
virtual bool Equals(
Object^ obj
) override
abstract Equals :
obj:Object -> bool
override Equals :
obj:Object -> bool
public override function Equals(
obj : Object
) : boolean
Parameters
- obj
Type: System.Object
The other instance to compare.
Return Value
Type: System.Boolean
True if the two WorkspaceInfo objects are equivalent; otherwise, false.
Remarks
Checks the workspace name, owner, and repository.
.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.