EnumTEnumGetFlagsCount(Int64) Method
Gets the number of bits set in value or -1 if value does not fall into the range of TEnum.
It is not checked, whether all flags are defined in TEnum.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public static int GetFlagsCount(
long value
)
Public Shared Function GetFlagsCount (
value As Long
) As Integer
public:
static int GetFlagsCount(
long long value
)
static member GetFlagsCount :
value : int64 -> int
- value Int64
- The value to check.
Int32The number of bits set in
value, or
-1 if
value does not fall into the range of
TEnum.