FlagsEnumeration

FlagsEnumeration class

Represents an abstract base class for creating enumerations that support bitwise flag operations.

public abstract class FlagsEnumeration : Enumeration

Methods

Name Description
CompareTo(object) Compares current object to other.
virtual Equals(Enumeration) Determines whether two object instances are equal.
override Equals(object) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.
virtual HasFlag<T>(T) Checks if the current flag has the specified flag.
virtual HasFlagValue(int) Checks if the current flag has the specified value.
override ToString() Converts the current object to a string.
static Combine<T>(T, T) Combines two flags enumerations into one.

See Also