DiffLineComparer.GetHashCode Method (DiffLine)
Provide the hash code for the given DiffElement.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Function GetHashCode ( _
element As DiffLine _
) As Integer
public int GetHashCode(
DiffLine element
)
public:
virtual int GetHashCode(
DiffLine^ element
) sealed
abstract GetHashCode :
element:DiffLine -> int
override GetHashCode :
element:DiffLine -> int
public final function GetHashCode(
element : DiffLine
) : int
Parameters
element
Type: Microsoft.TeamFoundation.VersionControl.Common.DiffLineThe DiffElement to get the hash code for.
Return Value
Type: System.Int32
The hash code.
Implements
IEqualityComparer<T>.GetHashCode(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.