Compartir a través de


BindConverter.TryConvertToDouble(Object, CultureInfo, Double) Método

Definición

Intenta convertir un valor en .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

Parámetros

obj
Object

Objeto que se va a convertir.

culture
CultureInfo

que CultureInfo se va a usar para la conversión.

value
Double

El valor convertido.

Devoluciones

true es si la conversión es correcta; de lo contrario false, es .

Se aplica a