OpenNETCF Smart Device Framework 2.3

Namespace:  OpenNETCF
Assembly:  OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0

Syntax

C#
public static bool IsPowerOf2(
	uint number
)
Visual Basic (Declaration)
Public Shared Function IsPowerOf2 ( _
	number As UInteger _
) As Boolean
Visual Basic (Usage)
Dim number As UInteger
Dim returnValue As Boolean

returnValue = Math2.IsPowerOf2(number)
Visual C++
public:
static bool IsPowerOf2(
	unsigned int number
)
J#
public static boolean IsPowerOf2(
	UInt32 number
)
JScript
public static function IsPowerOf2(
	number : uint
) : boolean
JavaScript
OpenNETCF.Math2.IsPowerOf2 = function(number);

Parameters

number
Type: System..::.UInt32

See Also