BindConverter.TryConvertToInt(Object, CultureInfo, Int32) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
.