Enum.IConvertible.ToInt64(IFormatProvider) 方法

定义

根据基础类型将当前值转换为 64 位有符号整数。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);
Function ToInt64 (provider As IFormatProvider) As Long Implements IConvertible.ToInt64

参数

provider
IFormatProvider

一个提供区域性特定的格式设置信息的对象。An object that supplies culture-specific formatting information.

返回

转换后的值。The converted value.

实现

注解

使用 Convert 执行转换。Uses Convert to perform the conversion.

适用于