[HideModuleNameAttribute]
public sealed class EnumExtensions<ExtensionAttribute>
<HideModuleNameAttribute>
Public NotInheritable Class EnumExtensions
Dim instance As EnumExtensions[ExtensionAttribute]
[HideModuleNameAttribute]
public ref class EnumExtensions sealed[<SealedAttribute>]
[<ExtensionAttribute>]
[<HideModuleNameAttribute>]
type EnumExtensions = class endNo code example is currently available or this language may not be supported.| AddFlagT | Adds the specified flag into a flags combination of the source enumeration. |
| AddFlagsT | Adds the specified flags into a flags combination of the source enumeration. |
| CountFlags | Determines the amount of flags in the source flag combination. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| FlagsT | Gets the current flags of the source enumeration. |
| ForEachFlagT | Performs the specified action for each flag of the source enumeration. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| HasDuplicatedValues | Determines whether the definition of the source Enum contains duplicated values. |
| HasFlagAnyT | Determines whether the source Enum contains any of the specified flags. |
| HasFlagsAttribute | Determines whether the specified enumeration is declared with FlagsAttribute. |
| RemoveFlagT | Removes the specified flag from a flags combination of the source enumeration. |
| RemoveFlagsT | Removes the specified flags from a flags combination of the source enumeration. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |