General.GetEnumDescriptionsAndValues Method

Get enum descriptions and values - Enum must have Description attribute
Public Shared Function GetEnumDescriptionsAndValues( _ 
ByVal type As Type
) As Object
This language is not supported or no code example is available.
public static object GetEnumDescriptionsAndValues( 
Type type 
)
This language is not supported or no code example is available.
public:  
static object^ GetEnumDescriptionsAndValues( 
Type^ type 
)
This language is not supported or no code example is available.
public static function GetEnumDescriptionsAndValues( 
type : Type 
) : object;
This language is not supported or no code example is available.

Parameters

type
Type

<default>

Return Value

object

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition