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