Redigera

Dela via


Conversions.ToULong Method

Definition

Converts the specified object to a Ulong value.

Overloads

ToULong(Object)

Converts an object to a Ulong value.

ToULong(String)

Converts a string to a Ulong value.

ToULong(Object)

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

Important

This API is not CLS-compliant.

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

Converts an object to a Ulong value.

public:
 static System::UInt64 ToULong(System::Object ^ Value);
[System.CLSCompliant(false)]
public static ulong ToULong (object Value);
[System.CLSCompliant(false)]
public static ulong ToULong (object? Value);
[<System.CLSCompliant(false)>]
static member ToULong : obj -> uint64
Public Shared Function ToULong (Value As Object) As ULong

Parameters

Value
Object

The object to convert.

Returns

The Ulong value of the object.

Attributes

Applies to

ToULong(String)

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

Important

This API is not CLS-compliant.

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

Converts a string to a Ulong value.

public:
 static System::UInt64 ToULong(System::String ^ Value);
[System.CLSCompliant(false)]
public static ulong ToULong (string Value);
[System.CLSCompliant(false)]
public static ulong ToULong (string? Value);
[<System.CLSCompliant(false)>]
static member ToULong : string -> uint64
Public Shared Function ToULong (Value As String) As ULong

Parameters

Value
String

The string to convert.

Returns

The Ulong value of the string.

Attributes

Applies to