This documentation is archived and is not being maintained.

IConvertible.ToUInt64 Method

Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.

The IConvertible type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
Function ToUInt64( _
   ByVal provider As IFormatProvider _
) As UInt64
ulong ToUInt64(
   IFormatProvider provider
unsigned __int64 ToUInt64(
   IFormatProvider* provider
function ToUInt64(
   provider : IFormatProvider
) : UInt64;


An IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

An 64-bit unsigned integer equivalent to the value of this instance.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IConvertible Interface | IConvertible Members | System Namespace