ToInt16 Method (Int16)

Convert.ToInt16 Method (Int16)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the specified 16-bit signed integer; no actual conversion is performed.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Shared Function ToInt16 ( _
	value As Short _
) As Short

Parameters

value
Type: System.Int16
A 16-bit signed integer.

Return Value

Type: System.Int16
Parameter value is returned unchanged.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft