TFStringComparer.GetHashCode Method (String)
Gets a hash code of the specified string.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Overrides Function GetHashCode ( _
x As String _
) As Integer
public override int GetHashCode(
string x
)
public:
virtual int GetHashCode(
String^ x
) override
abstract GetHashCode :
x:string -> int
override GetHashCode :
x:string -> int
public override function GetHashCode(
x : String
) : int
Parameters
x
Type: System.StringThe string to hash.
Return Value
Type: System.Int32
A hash code of the specified 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.