Share via


ModelCollationComparer.GetHashCode Method

Definition

Overloads

GetHashCode(ObjectIdentifier)

Gets a Hashcode for the object that's compatible with the Equals(ObjectIdentifier, ObjectIdentifier) method of this comparer

GetHashCode(IList<String>)

Gets a Hashcode for the object that's compatible with the Equals(IList<String>, IList<String>) method of this comparer

GetHashCode(String)

Gets a Hashcode for the object that's compatible with the Equals(String, String) method of this comparer

GetHashCode(ObjectIdentifier)

Gets a Hashcode for the object that's compatible with the Equals(ObjectIdentifier, ObjectIdentifier) method of this comparer

public abstract int GetHashCode (Microsoft.SqlServer.Dac.Model.ObjectIdentifier obj);
override this.GetHashCode : Microsoft.SqlServer.Dac.Model.ObjectIdentifier -> int
Public MustOverride Function GetHashCode (obj As ObjectIdentifier) As Integer

Parameters

obj
ObjectIdentifier

The object to get a hashcode for

Returns

hashcode

Implements

Applies to

GetHashCode(IList<String>)

Gets a Hashcode for the object that's compatible with the Equals(IList<String>, IList<String>) method of this comparer

public abstract int GetHashCode (System.Collections.Generic.IList<string> obj);
override this.GetHashCode : System.Collections.Generic.IList<string> -> int
Public MustOverride Function GetHashCode (obj As IList(Of String)) As Integer

Parameters

obj
IList<String>

The object to get a hashcode for

Returns

hashcode

Implements

Applies to

GetHashCode(String)

Gets a Hashcode for the object that's compatible with the Equals(String, String) method of this comparer

public abstract int GetHashCode (string obj);
override this.GetHashCode : string -> int
Public MustOverride Function GetHashCode (obj As String) As Integer

Parameters

obj
String

The object to get a hashcode for

Returns

hashcode

Implements

Applies to