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