編輯

共用方式為


DateTime.IConvertible.ToUInt64(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

 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
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToUInt64 : IFormatProvider -> uint64
override this.System.IConvertible.ToUInt64 : IFormatProvider -> uint64
Function ToUInt64 (provider As IFormatProvider) As ULong Implements IConvertible.ToUInt64

Parameters

provider
IFormatProvider

An object that implements the IFormatProvider interface. (This parameter is not used; specify null.)

Returns

The return value for this member is not used.

Implements

Attributes

Exceptions

In all cases.

Applies to