Bewerken

Share via


DateTime.IConvertible.ToInt64(IFormatProvider) Method

Definition

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

 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

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

Exceptions

In all cases.

Applies to