Bewerken

Share via


String.IConvertible.ToInt64(IFormatProvider) Method

Definition

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

An object that provides culture-specific formatting information.

Returns

The converted value of the current String object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the String instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToInt64(String, IFormatProvider) method.

Applies to