Partilhar via


BindConverter.TryConvertToNullableDouble Método

Definição

Tenta converter um valor em um valor anulável Double.

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

Parâmetros

obj
Object

O objeto a ser convertido.

culture
CultureInfo

O CultureInfo a ser usado para conversão.

value
Nullable<Double>

O valor convertido.

Retornos

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

Aplica-se a