Devesprit.Scripter

Extensions..::..ToDescription Method

This method returns the Description Attribute value of an Enum.

Namespace:  Devesprit.Scripter.Utils
Assembly:  Devesprit Scripter (in Devesprit Scripter.dll)

Syntax


public static string ToDescription(
	this Enum en
)
<ExtensionAttribute> _
Public Shared Function ToDescription ( _
	en As Enum _
) As String
[ExtensionAttribute]
public:
static String^ ToDescription(
	Enum^ en
)

Parameters

en
Type: Enum
The intended Enum.

Return Value

The return value is a string.