AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

ArgumentHelper..::..GetEnumDescription Method

Gets the DescriptionAttribute value for the specified enum member, or falls back to ToString if no description attribute is defined.

Namespace:  AdvantageCMS.Core.Common.SitemapGenerator
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string GetEnumDescription(
	Enum value
)

Parameters

value
Type: Enum
The enum value to retrieve the description for.

Return Value

The description string for the enum value.