Szerkesztés

Megosztás a következőn keresztül:


Conversions.ToUInteger Method

Definition

Converts the specified object to a Uint value.

Overloads

ToUInteger(Object)

Converts an object to a Uint value.

ToUInteger(String)

Converts a string to a Uint value.

ToUInteger(Object)

Source:
Conversions.vb
Source:
Conversions.vb
Source:
Conversions.vb

Important

This API is not CLS-compliant.

CLS-compliant alternative
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object)

Converts an object to a Uint value.

public:
 static System::UInt32 ToUInteger(System::Object ^ Value);
[System.CLSCompliant(false)]
public static uint ToUInteger (object Value);
[System.CLSCompliant(false)]
public static uint ToUInteger (object? Value);
[<System.CLSCompliant(false)>]
static member ToUInteger : obj -> uint32
Public Shared Function ToUInteger (Value As Object) As UInteger

Parameters

Value
Object

The object to convert.

Returns

The Uint value of the object.

Attributes

Applies to

ToUInteger(String)

Source:
Conversions.vb
Source:
Conversions.vb
Source:
Conversions.vb

Important

This API is not CLS-compliant.

CLS-compliant alternative
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String)

Converts a string to a Uint value.

public:
 static System::UInt32 ToUInteger(System::String ^ Value);
[System.CLSCompliant(false)]
public static uint ToUInteger (string Value);
[System.CLSCompliant(false)]
public static uint ToUInteger (string? Value);
[<System.CLSCompliant(false)>]
static member ToUInteger : string -> uint32
Public Shared Function ToUInteger (Value As String) As UInteger

Parameters

Value
String

The string to convert.

Returns

The Uint value of the string.

Attributes

Applies to