Click or drag to resize

EnumExtensions Methods

The EnumExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodAreAllFlagsSetT Determines whether all of the specified flags are set on the specified value.
Public Extension MethodClearFlagsT Clears the specified flags on the specified value.
Public Extension MethodCombineFlagsT Combines the flags into a single Enum.
Public Extension MethodGetFlagsT Gets the individual flags set on the specified value.
Public Extension MethodIsAnyFlagSetT Determines whether any of the specified flags is set on the specified value.
Public Extension MethodSetFlagsT(T, T) Sets the specified flags on the specified value.
Public Extension MethodSetFlagsT(T, T, Boolean) Sets the specified flags on the specified value on or off.
Public Extension MethodToEnumT(Int16) Converts a short value into an Enum.
Public Extension MethodToEnumT(Int32) Converts an integer value into an Enum.
Public Extension MethodToEnumT(Int64) Converts a long value into an Enum.
Public Extension MethodToEnumT(NullableInt16) Converts a short value into an enum.
Public Extension MethodToEnumT(NullableInt32) Converts an integer value into an enum.
Public Extension MethodToEnumT(NullableUInt16) Converts an unsigned short value into an enum.
Public Extension MethodToEnumT(NullableUInt32) Converts an unsigned integer value into an enum.
Public Extension MethodToEnumT(UInt16) Converts an unsigned short value into an Enum.
Public Extension MethodToEnumT(UInt32) Converts an unsigned integer value into an Enum.
Public Extension MethodToEnumT(UInt64) Converts an unsigned long value into an Enum.
Top
See Also