Extends the functionality of Enum
| C# | Visual Basic |
public static class EnumHelper
Public NotInheritable Class EnumHelper
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| GetName(Type, Object) |
Retrieves the name of the constant in the specified enumeration that has the specified value.
| |
| GetNames(Type) |
Retrieves an array of the names of the constants in a specified enumeration.
| |
| GetValues(Type) |
Retrieves an array of the values of the constants in a specified enumeration.
| |
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Phone | Windows Phone 7 |
| Windows Embedded Compact | Windows CE .NET 4.1 and later |
| Object | |
| EnumHelper | |