Gets the value of an Enum, based on it's Description Attribute or named value
[Visual Basic] Shared Public Function GetEnumValue( _ ByVal value As Type, _ ByVal description As String _ ) As Object [C#] public static object GetEnumValue( Type value, string description ); [C++] public: static Object* GetEnumValue( Type* value, String* description ); [JScript] public static function GetEnumValue( Type value, String description ): Object;
The value, or the passed in description, if it was not found
EnumDescriptionConverter Class | NDoc.Core.PropertyGridUI Namespace