Conversions.ToUShort 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.
Belirtilen nesneyi bir Ushort
değere dönüştürür.
Aşırı Yüklemeler
ToUShort(Object) |
Nesneyi değere |
ToUShort(String) |
Dizeyi değere |
ToUShort(Object)
- Kaynak:
- Conversions.vb
- Kaynak:
- Conversions.vb
- Kaynak:
- Conversions.vb
Önemli
Bu API, CLS uyumlu değildir.
- CLS uyumlu alternatif
- Microsoft.VisualBasic.CompilerServices.Conversions.ToShort(Object)
Nesneyi değere Ushort
dönüştürür.
public:
static System::UInt16 ToUShort(System::Object ^ Value);
[System.CLSCompliant(false)]
public static ushort ToUShort (object Value);
[System.CLSCompliant(false)]
public static ushort ToUShort (object? Value);
[<System.CLSCompliant(false)>]
static member ToUShort : obj -> uint16
Public Shared Function ToUShort (Value As Object) As UShort
Parametreler
- Value
- Object
Dönüştürülecek nesne.
Döndürülenler
Ushort
Nesnesinin değeri.
- Öznitelikler
Şunlara uygulanır
ToUShort(String)
- Kaynak:
- Conversions.vb
- Kaynak:
- Conversions.vb
- Kaynak:
- Conversions.vb
Önemli
Bu API, CLS uyumlu değildir.
- CLS uyumlu alternatif
- Microsoft.VisualBasic.CompilerServices.Conversions.ToShort(String)
Dizeyi değere Ushort
dönüştürür.
public:
static System::UInt16 ToUShort(System::String ^ Value);
[System.CLSCompliant(false)]
public static ushort ToUShort (string Value);
[System.CLSCompliant(false)]
public static ushort ToUShort (string? Value);
[<System.CLSCompliant(false)>]
static member ToUShort : string -> uint16
Public Shared Function ToUShort (Value As String) As UShort
Parametreler
- Value
- String
Dönüştürülecek dize.
Döndürülenler
Ushort
Dizenin değeri.
- Öznitelikler
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.