Conversions.ToUInteger Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified object to a Uint
value.
Overloads
ToUInteger(Object) |
Converts an object to a |
ToUInteger(String) |
Converts a string to a |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.