Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.String- The 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.