Rediger

Del via


FormatterConverter.ToUInt32(Object) Method

Definition

Important

This API is not CLS-compliant.

Converts a value to a 32-bit unsigned integer.

public:
 virtual System::UInt32 ToUInt32(System::Object ^ value);
[System.CLSCompliant(false)]
public uint ToUInt32 (object value);
[<System.CLSCompliant(false)>]
abstract member ToUInt32 : obj -> uint32
override this.ToUInt32 : obj -> uint32
Public Function ToUInt32 (value As Object) As UInteger

Parameters

value
Object

The object to convert.

Returns

The converted value or null if the type parameter is null.

Implements

Attributes

Exceptions

The value parameter is null.

Remarks

This method uses the invariant culture (see CultureInfo.InvariantCulture). To use the current culture or to specify a culture, use the Convert.ToUInt32 method instead. For more information, see UInt32, Convert, and ValueType.

Applies to