HasFlag
FlagsEnumeration.HasFlag<T> method
Checks if the current flag has the specified flag.
public virtual bool HasFlag<T>(T flag)
where T : FlagsEnumeration
Parameter | Type | Description |
---|---|---|
flag | T | The flag to check. |
Return Value
true
if the flag is present; otherwise, false
.
See Also
- class FlagsEnumeration
- namespace GroupDocs.Conversion.Contracts
- assembly GroupDocs.Conversion