共用方式為


IdAndName.Equals Method (Object)

Determines whether the provided object is equal to the current object.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.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: Object

    An object that can be cast as an IdAndName object.

Return Value

Type: Boolean
true if the two objects are equal; otherwise, false.

.NET Framework Security

See Also

Reference

IdAndName Structure

Equals Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace