Partager via


BindConverter.TryConvertToLong(Object, CultureInfo, Int64) Méthode

Définition

Tente de convertir une valeur en Int64.

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

Paramètres

obj
Object

Objet à convertir.

culture
CultureInfo

à utiliser pour la CultureInfo conversion.

value
Int64

Valeur convertie.

Retours

true si la conversion réussit, sinon false.

S’applique à