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.ToInt64

Converts eight bytes beginning at the specified index in the specified array into a 64-bit signed integer value.

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

Parameters

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

Return Value

A 64-bit signed integer formed from eight unsigned bytes beginning at startIndex.

Exceptions

Exception Type Condition
ArgumentException value is null.
ArgumentException startIndex is a value that results in invalid access to the array.

See Also

BitConverter Class | BitConverter Members | System Namespace