Enum.IConvertible.ToInt64(IFormatProvider) Method

Definition

Converts the current value to a 64-bit signed integer based on the underlying type.

 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 supplies culture-specific formatting information.

Returns

The converted value.

Implements

Remarks

Uses Convert to perform the conversion.

Applies to