Conversions.ToShort Method (Object)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Converts an object to a Short value.
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public Shared Function ToShort ( _
Value As Object _
) As Short
public static short ToShort(
Object Value
)
Parameters
- Value
Type: System.Object
The object to convert.
Return Value
Type: System.Int16
The Short value of the object.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also