DBNull.IConvertible.ToInt64(IFormatProvider) Method

Definition

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

 virtual long System.IConvertible.ToInt64(IFormatProvider ^ provider) = IConvertible::ToInt64;
long IConvertible.ToInt64 (IFormatProvider provider);
abstract member System.IConvertible.ToInt64 : IFormatProvider -> int64
override this.System.IConvertible.ToInt64 : IFormatProvider -> int64
Function ToInt64 (provider As IFormatProvider) As Long Implements IConvertible.ToInt64

Parameters

provider
IFormatProvider

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

Returns

Int64

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