Gemstone Common Library
Show/Hide TOC

# WordExtensionsHighDoubleWord Method

Returns the unsigned high-double-word (UInt32) from an unsigned quad-word (UInt64).

## Definition

Namespace: Gemstone.WordExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
C#
View Source Request Example

    public static uint HighDoubleWord(
    	this ulong quadWord
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function HighDoubleWord (
    	quadWord As ULong
    ) As UInteger

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static unsigned int HighDoubleWord(
    	unsigned long long quadWord
    )

JavaScript
View Source Request Example

    Gemstone.WordExtensions.WordExtensions.HighDoubleWord = function(quadWord);

#### Parameters

quadWord UInt64
  8-byte, 64-bit unsigned integer value.

#### Return Value

UInt32
The high-order double-word of the specified 64-bit unsigned integer value.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt64. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

## Remarks

On little-endian architectures (e.g., Intel platforms), this will be the word value whose in-memory representation is the same as the right-most, most-significant-word of the integer value.

## See Also

#### Reference

WordExtensions Class
Gemstone.WordExtensions Namespace