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

Return Value

Type: System.Int32
A hash code of the specified string.

Implements

IEqualityComparer<T>.GetHashCode(T)

.NET Framework Security

See Also

Reference

TFStringComparer Class

GetHashCode Overload

Microsoft.TeamFoundation Namespace