Enum.IConvertible.ToUInt64(IFormatProvider) 方法

定義

重要

此 API 不符合 CLS 規範。

根據基礎類型,將目前值轉換成 64 位元不帶正負號的整數。Converts the current value to a 64-bit unsigned integer based on the underlying type.

 virtual System::UInt64 System.IConvertible.ToUInt64(IFormatProvider ^ provider) = IConvertible::ToUInt64;
ulong IConvertible.ToUInt64 (IFormatProvider provider);
[System.CLSCompliant(false)]
ulong IConvertible.ToUInt64 (IFormatProvider provider);
abstract member System.IConvertible.ToUInt64 : IFormatProvider -> uint64
override this.System.IConvertible.ToUInt64 : IFormatProvider -> uint64
Function ToUInt64 (provider As IFormatProvider) As ULong Implements IConvertible.ToUInt64

參數

provider
IFormatProvider

物件,其提供特定文化特性格式資訊。An object that supplies culture-specific formatting information.

傳回

轉換的值。The converted value.

實作

屬性

備註

會使用 Convert 來執行轉換。Uses Convert to perform the conversion.

適用於