Redigeeri

Jagamisviis:


DataRowComparer<TRow>.GetHashCode(TRow) Method

Definition

Returns a hash code for the specified DataRow object.

public:
 virtual int GetHashCode(TRow row);
public int GetHashCode (TRow row);
override this.GetHashCode : 'Row -> int
Public Function GetHashCode (row As TRow) As Integer

Parameters

row
TRow

The DataRow to compute the hash code from.

Returns

An Int32 value representing the hash code of the row.

Implements

Exceptions

The source DataRow objects does not belong to a DataTable.

The source DataRow objects is null.

Remarks

The GetHashCode method is the value-based comparison implementation of the GetHashCode method.

Applies to

See also