Partager via


Difference.Equals Method

Determines whether two Difference objects are the same (have the same difference type and the same before and after matches).

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.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

    The second Difference object.

Return Value

Type: Boolean
true if both objects are the same, otherwise false.

.NET Framework Security

See Also

Reference

Difference Class

Microsoft.VisualStudio.Text.Differencing Namespace