Aligns the value to the next specified boundary.
            
Namespace: SharpAssembler.CoreAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntax
| Visual Basic | 
|---|
| Public Function Align ( _
	boundary As Integer _
) As Int128 | 
| Visual C++ | 
|---|
| public:
Int128 Align(
	int boundary
) | 
Parameters
- boundary
- Type: System..::..Int32
 The boundary to align to, which must be a power of two.
Return Value
The address aligned to the specified boundary.
 Exceptions
Exceptions
 Contracts
Contracts
| Requires | 
|---|
|  | 
| MathExt.IsPowerOfTwo(boundary) | 
| Ensures | 
|---|
| Contract.Result<Int128>() >= this | 
 See Also
See Also