NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UInt16.GetHashCode

Returns the hash code for the current instance. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.

[C#]
public override int GetHashCode();
[C++]
public: override int GetHashCode();
[JScript]
public override function GetHashCode() : int;

[Visual Basic] The UInt16 type cannot be used in Visual Basic.

Return Value [C#, C++, JScript]

A hash code for the current instance.

Remarks [C#, C++, JScript]

GetHashCode performs a search and returns the hash code for Int16.

See Also

UInt16 Structure | UInt16 Members | System Namespace | Int16 | IHashCodeProvider