String.IConvertible.ToDouble(IFormatProvider) Metoda

Definice

For a description of this member, see ToDouble(IFormatProvider).For a description of this member, see ToDouble(IFormatProvider).

 virtual double System.IConvertible.ToDouble(IFormatProvider ^ provider) = IConvertible::ToDouble;
double IConvertible.ToDouble (IFormatProvider provider);
Function ToDouble (provider As IFormatProvider) As Double Implements IConvertible.ToDouble

Parametry

provider
IFormatProvider

Objekt, který poskytuje informace o formátování specifické pro jazykovou verzi.An object that provides culture-specific formatting information.

Návraty

The converted value of the current String object.The converted value of the current String object.

Implementuje

Výjimky

The value of the current String object cannot be parsed.The value of the current String object cannot be parsed.

The value of the current String object is a number less than MinValue or greater than MaxValue.The value of the current String object is a number less than MinValue or greater than MaxValue.

Poznámky

Tento člen je explicitní implementace členu rozhraní.This member is an explicit interface member implementation. It can be used only when the String instance is cast to an IConvertible interface.It can be used only when the String instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToDouble(String, IFormatProvider) method.The recommended alternative is to call the Convert.ToDouble(String, IFormatProvider) method.

Platí pro