Condividi tramite


BindConverter.TryConvertToDouble(Object, CultureInfo, Double) Metodo

Definizione

Tenta di convertire un valore in un oggetto Double.

public:
 static bool TryConvertToDouble(System::Object ^ obj, System::Globalization::CultureInfo ^ culture, [Runtime::InteropServices::Out] double % value);
public static bool TryConvertToDouble (object obj, System.Globalization.CultureInfo culture, out double value);
public static bool TryConvertToDouble (object? obj, System.Globalization.CultureInfo? culture, out double value);
static member TryConvertToDouble : obj * System.Globalization.CultureInfo * double -> bool
Public Shared Function TryConvertToDouble (obj As Object, culture As CultureInfo, ByRef value As Double) As Boolean

Parametri

obj
Object

Oggetto da convertire.

culture
CultureInfo

Oggetto CultureInfo da utilizzare per la conversione.

value
Double

Valore convertito.

Restituisce

true se la conversione ha esito positivo; in caso contrario false, .

Si applica a