BoolExtensions Class
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.
Helpers for working with the Boolean type.
public static class BoolExtensions
type BoolExtensions = class
Public Module BoolExtensions
- Inheritance
-
BoolExtensions
Methods
ToBitwiseMask32(Boolean) |
Converts the given Boolean value to an Int32 mask with all bits representing the value of the input flag (either 0xFFFFFFFF or 0x00000000). |
ToBitwiseMask64(Boolean) |
Converts the given Boolean value to a Int64 mask with all bits representing the value of the input flag (either all 1s or 0s). |
ToByte(Boolean) |