NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BitConverter.ToUInt64

Converts an array of bytes into a 64-bit unsigned integer.

[Visual Basic]
Public Shared Function ToUInt64( _
   ByVal value() As Byte, _
   ByVal startIndex As Integer _
) As UInt64
[C#]
public static ulong ToUInt64(
   byte[] value,
   int startIndex
);
[C++]
public: static unsigned __int64 ToUInt64(
   unsigned char* value[],
   int startIndex
);
[JScript]
public static function ToUInt64(
   value : Byte[],
   startIndex : int
) : UInt64;

Parameters

value
An array of unsigned bytes.
startIndex
The position within value at which to begin.

Return Value

A 32-bit unsigned integer formed by the four bytes beginning at startIndex.

Exceptions

Exception Type Condition
ArgumentNullException if value is null.
ArgumentOutOfRangeException if startIndex is less than zero or greater than the length of value-8.

See Also

BitConverter Class | BitConverter Members | System Namespace