DateTime.IConvertible.ToInt16(IFormatProvider) DateTime.IConvertible.ToInt16(IFormatProvider) DateTime.IConvertible.ToInt16(IFormatProvider) Method

Definition

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

 virtual short System.IConvertible.ToInt16(IFormatProvider ^ provider) = IConvertible::ToInt16;
short IConvertible.ToInt16 (IFormatProvider provider);
Function ToInt16 (provider As IFormatProvider) As Short Implements IConvertible.ToInt16

Parameters

provider
IFormatProvider IFormatProvider IFormatProvider

An object that implements the IFormatProvider interface. (This parameter is not used; specify null.)

Returns

The return value for this member is not used.

Implements

Exceptions

Applies to