Decimal.IConvertible.ToInt16 Method (IFormatProvider)
This API supports the product infrastructure and is not intended to be used directly from your code.
For a description of this member, see IConvertible.ToInt16.
Assembly: mscorlib (in mscorlib.dll)
Private Function ToInt16 ( provider As IFormatProvider ) As Short Implements IConvertible.ToInt16
This parameter is ignored.
This member is an explicit interface member implementation. It can be used only when the Decimal instance is cast to an IConvertible interface. The recommended alternative is to call either the Decimal.ToInt16 method or the Convert.ToInt16 method.
The Decimal value is rounded toward zero to the nearest integer value.
Available since 10
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0