Convert..::..ToInt16 Method
Overload List
Name | Description | |
---|---|---|
![]() ![]() |
ToInt16(Object) |
Converts the value of the specified object to a 16-bit signed integer.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
|
![]() ![]() |
ToInt16(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.
|
![]() ![]() |
ToInt16(String, Int32) |
Converts the string representation of a number in a specified base to an equivalent 16-bit signed integer.
|