DiffLineComparer.Equals Method (DiffLine, DiffLine)
Returns true if the given elements are equal.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Function Equals ( _
x As DiffLine, _
y As DiffLine _
) As Boolean
public bool Equals(
DiffLine x,
DiffLine y
)
public:
virtual bool Equals(
DiffLine^ x,
DiffLine^ y
) sealed
abstract Equals :
x:DiffLine *
y:DiffLine -> bool
override Equals :
x:DiffLine *
y:DiffLine -> bool
public final function Equals(
x : DiffLine,
y : DiffLine
) : boolean
Parameters
x
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffLineThe left element
y
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffLineThe right element
Return Value
Type: System.Boolean
True if the two elements are equal
Implements
IEqualityComparer<T>.Equals(T, T)
.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.