Convert..::..ToInt16 Method (Object)
Converts the value of the specified object to a 16-bit signed integer.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static short ToInt16( Object value )
<TemplateAttribute> _ Public Shared Function ToInt16 ( _ value As Object _ ) As Short
[TemplateAttribute] public: static short^ ToInt16( Object^ value )
Parameters
- value
- Type: System..::..Object