Boolean.IConvertible.ToInt64(IFormatProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For a description of this member, see ToInt64(IFormatProvider).
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
This parameter is ignored.
Returns
1 if this instance is true
; otherwise, 0.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the Boolean instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToInt64(Boolean) method.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET