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!

Convert.ToInt32 (UInt16)

Convert a UInt16 to an Int32.

[Visual Basic]
Overloads Public Shared Function ToInt32( _
   ByVal value As UInt16 _
) As Integer
[C#]
public static int ToInt32(
   ushort value
);
[C++]
public: static int ToInt32(
   unsigned short value
);
[JScript]
public static function ToInt32(
   value : UInt16
) : int;

Parameters

value
The value to convert.

Return Value

The value as an Int32.

Exceptions

Exception Type Condition
OverflowException is thrown if value is greater than Int32.MaxValue.

See Also

Convert Class | Convert Members | System Namespace | Convert.ToInt32 Overload List