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

Converts eight unsigned bytes beginning at the specified index in the specified array into a double-precision floating point number.

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

Parameters

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

Return Value

Returns a double precision floating-point numberformed 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