Share via


TeamProject.Equals Method

Checks whether this TeamProject instance is equal to another object.

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

Syntax

'Declaration
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 team project with which to compare.

Return Value

Type: System.Boolean
Returns true if the two projects are the same; otherwise, false.

Remarks

Checks whether the two objects share the same name and repository.

.NET Framework Security

See Also

Reference

TeamProject Class

Microsoft.TeamFoundation.VersionControl.Client Namespace