SByte.IConvertible.ToInt64(IFormatProvider) 方法

定義

如需這個成員的說明,請參閱 ToInt64(IFormatProvider)For a description of this member, see ToInt64(IFormatProvider).

 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

這個參數已忽略。This parameter is ignored.

傳回

目前執行個體的值,轉換為 Int64The value of the current instance, converted to an Int64.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 SByte 執行個體轉換成 IConvertible 介面時,才能使用這個成員。It can be used only when the SByte instance is cast to an IConvertible interface. 建議的替代做法是呼叫Convert.ToInt64(SByte)方法。The recommended alternative is to call the Convert.ToInt64(SByte) method.

適用於