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

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

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

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

See Also

BitConverter Class | BitConverter Members | System Namespace