Bewerken

Share via


DBNull.IConvertible.ToInt16(IFormatProvider) Method

Definition

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

 virtual short System.IConvertible.ToInt16(IFormatProvider ^ provider) = IConvertible::ToInt16;
short IConvertible.ToInt16 (IFormatProvider provider);
abstract member System.IConvertible.ToInt16 : IFormatProvider -> int16
override this.System.IConvertible.ToInt16 : IFormatProvider -> int16
Function ToInt16 (provider As IFormatProvider) As Short Implements IConvertible.ToInt16

Parameters

provider
IFormatProvider

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

Returns

None. The return value for this member is not used.

Implements

Exceptions

This conversion is not supported for the DBNull type.

Applies to

See also