Babelfish Help Documentation
C#
For Babelfish Release 1.11.1.3
Show/Hide TOC
Enum
Helper
Description Method
Returns the Description attribute of an enum. If Description is not an attribute returns the .toString() value.
Definition
Namespace:
Scopos.BabelFish.Helpers
Assembly:
BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
Copy
public
static
string
Description
(
this
Enum
value
)
Parameters
value
Enum
Return Value
String
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Enum
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
EnumHelper Class
Scopos.BabelFish.Helpers Namespace
In This Article
Definition
Parameters
Return Value
Usage Note
See Also