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 Structure

Represents a 16-bit unsigned integer. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.

Object
   ValueType
      UInt16

[C#]
public struct UInt16 : IComparable, IFormattable, IConvertible
[C++]
public __value struct UInt16 : public IComparable, IFormattable,
   IConvertible

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

[JScript] In JScript, you can use the structures in the NGWS frameworks, but you cannot define your own.

Remarks [C#, C++, JScript]

UInt16 will encapsulate a short and provide an Object representation of it.

The UInt16 data type can represent integers with four significant digits in the range from 0 through positive 65535.

UInt16 supports standard widening coercions between Int32, Int64, UInt32, Single, Double, Decimal, and Object. These coercions result in no loss of precision of magnitude.

Requirements [C#, C++, JScript]

Namespace: System

Assembly: mscorlib.dll

See Also

UInt16 Members | System Namespace | Int16