Rediger

Del via


FormatterConverter.ToUInt64(Object) Method

Definition

Important

This API is not CLS-compliant.

Converts a value to a 64-bit unsigned integer.

public:
 virtual System::UInt64 ToUInt64(System::Object ^ value);
[System.CLSCompliant(false)]
public ulong ToUInt64 (object value);
[<System.CLSCompliant(false)>]
abstract member ToUInt64 : obj -> uint64
override this.ToUInt64 : obj -> uint64
Public Function ToUInt64 (value As Object) As ULong

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.ToUInt64 method instead. For more information, see UInt64, Convert, and ValueType.

Applies to