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.Equals

Compares the current instance with a specified object. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.

[C#]
public override bool Equals(
   object obj
);
[C++]
public: override bool Equals(
   Object* obj
);
[JScript]
public override function Equals(
   obj : Object
) : Boolean;

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

Parameters [C#, C++, JScript]

obj
The object to compare with the current instance.

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

true if the object is a UInt16 with the same value as the current instance; otherwise, false.

Remarks [C#, C++, JScript]

The Equals method compares two objects and returns a Boolean determination of their relationship.

This method overrides Equals.

See Also

UInt16 Structure | UInt16 Members | System Namespace | Boolean