DynamicDataExtensions::GetEnumType Method (MetaColumn^)

.NET Framework (current version)
 

Gets the type of the enumeration that represents the column.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
[ExtensionAttribute]
static Type^ GetEnumType(
	MetaColumn^ column
)

Parameters

column
Type: System.Web.DynamicData::MetaColumn^

The column to get the enumeration type for.

Return Value

Type: System::Type^

The type of the enumeration that represents the column if the underlying type is an enumeration; otherwise, null.

The column represents an enumeration if the underlying type is an enumeration or if the column is annotated in the entity partial class with the EnumDataTypeAttribute attribute.

.NET Framework
Available since 4.0
Return to top
Show: