Gemstone Common Library
Show/Hide TOC

# WordExtensionsAlignDoubleWord(UInt32) Method

Aligns double-word length value to a 32-bit boundary.

## Definition

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

    public static uint AlignDoubleWord(
    	this uint doubleWord
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function AlignDoubleWord (
    	doubleWord As UInteger
    ) As UInteger

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static unsigned int AlignDoubleWord(
    	unsigned int doubleWord
    )

JavaScript
View Source Request Example

    Gemstone.WordExtensions.WordExtensions.AlignDoubleWord = function(doubleWord);

#### Parameters

doubleWord UInt32
  Double-word value to align.

#### Return Value

UInt32
Double-word value aligned to next 32-bit boundary.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt32. 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).

## See Also

#### Reference

WordExtensions Class
AlignDoubleWord Overload
Gemstone.WordExtensions Namespace