DBNull.IConvertible.ToSByte(IFormatProvider) DBNull.IConvertible.ToSByte(IFormatProvider) DBNull.IConvertible.ToSByte(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

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

 virtual System::SByte System.IConvertible.ToSByte(IFormatProvider ^ provider) = IConvertible::ToSByte;
[System.CLSCompliant(false)]
sbyte IConvertible.ToSByte (IFormatProvider provider);
Function ToSByte (provider As IFormatProvider) As SByte Implements IConvertible.ToSByte

Parameters

provider
IFormatProvider IFormatProvider 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