BoolExtensions.ToBitwiseMask64(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static long ToBitwiseMask64 (this bool flag);
static member ToBitwiseMask64 : bool -> int64
<Extension()>
Public Function ToBitwiseMask64 (flag As Boolean) As Long
Parameters
- flag
- Boolean
The input value to convert.
Returns
All 1s if flag
is true
, all 0s otherwise.
Remarks
This method does not contain branching instructions. See additional note in ToBitwiseMask32(Boolean).