ModelCollationComparer.GetHashCode Method (ModelIdentifier)
Serves as a hash function for the provided ModelIdentifier.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetHashCode ( _
obj As ModelIdentifier _
) As Integer
public int GetHashCode(
ModelIdentifier obj
)
public:
virtual int GetHashCode(
ModelIdentifier^ obj
) sealed
abstract GetHashCode :
obj:ModelIdentifier -> int
override GetHashCode :
obj:ModelIdentifier -> int
public final function GetHashCode(
obj : ModelIdentifier
) : int
Parameters
- obj
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier object.
Return Value
Type: System.Int32
An Int32 hash code for the provided identifier.
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.