EnumTEnumAllFlagsDefined(UInt64) Method
Gets whether every single bit value in flags are defined in the TEnum type,
or, when flags is zero, it is checked whether zero is defined in TEnum.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
[CLSCompliantAttribute(false)]
public static bool AllFlagsDefined(
ulong flags
)
<CLSCompliantAttribute(false)>
Public Shared Function AllFlagsDefined (
flags As ULong
) As Boolean
public:
[CLSCompliantAttribute(false)]
static bool AllFlagsDefined(
unsigned long long flags
)
[<CLSCompliantAttribute(false)>]
static member AllFlagsDefined :
flags : uint64 -> bool
- flags UInt64
- An unsigned integer value, whose bits should be checked. It is not checked whether TEnum
is really marked by FlagsAttribute.
Boolean, if
flags is a zero value and zero is defined,
or if
flags is nonzero and its every bit has a defined name.