Partilhar via


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

Definição

Tenta converter um valor em um 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

O objeto a ser convertido.

culture
CultureInfo

O CultureInfo a ser usado para conversão.

value
Double

O valor convertido.

Retornos

true se a conversão for bem-sucedida, caso contrário false, .

Aplica-se a