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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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