DiffLineComparer.GetHashCode Method (Object)
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 Object _
) As Integer
public int GetHashCode(
Object element
)
public:
int GetHashCode(
Object^ element
)
member GetHashCode :
element:Object -> int
public function GetHashCode(
element : Object
) : int
Parameters
element
Type: System.ObjectThe DiffElement to get the hash code for.
Return Value
Type: System.Int32
The hash code.
.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.