Conversions.ToUShort Methode

Definitie

Converteert het opgegeven object naar een Ushort waarde.

Overloads

Name Description
ToUShort(Object)

Converteert een object naar een Ushort waarde.

ToUShort(String)

Converteert een tekenreeks naar een Ushort waarde.

ToUShort(Object)

Bron:
Conversions.vb
Bron:
Conversions.vb
Bron:
Conversions.vb
Bron:
Conversions.vb
Bron:
Conversions.vb

Belangrijk

Deze API is niet CLS-conform.

CLS-conform alternatief
Microsoft.VisualBasic.CompilerServices.Conversions.ToShort(Object)

Converteert een object naar een Ushort waarde.

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

Parameters

Value
Object

Het object dat moet worden geconverteerd.

Retouren

De Ushort waarde van het object.

Kenmerken

Van toepassing op

ToUShort(String)

Bron:
Conversions.vb
Bron:
Conversions.vb
Bron:
Conversions.vb
Bron:
Conversions.vb
Bron:
Conversions.vb

Belangrijk

Deze API is niet CLS-conform.

CLS-conform alternatief
Microsoft.VisualBasic.CompilerServices.Conversions.ToShort(String)

Converteert een tekenreeks naar een Ushort waarde.

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

Parameters

Value
String

De tekenreeks die moet worden geconverteerd.

Retouren

De Ushort waarde van de tekenreeks.

Kenmerken

Van toepassing op