Aracılığıyla paylaş


BindConverter.TryConvertToInt(Object, CultureInfo, Int32) Yöntem

Tanım

Bir değeri değerine dönüştürmeyi Int32dener.

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

Parametreler

obj
Object

Dönüştürülecek nesne.

culture
CultureInfo

Dönüştürme CultureInfo için kullanılacak.

value
Int32

Dönüştürülen değer.

Döndürülenler

true dönüştürme başarılı olursa, aksi takdirde false.

Şunlara uygulanır