Click or drag to resize
EnumHelperGetDescription Method
获取枚举的描述(Description属性)

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public static string GetDescription(
	Enum value
)

Parameters

value
Type: SystemEnum

[Missing <param name="value"/> documentation for "M:Adf.EnumHelper.GetDescription(System.Enum)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Adf.EnumHelper.GetDescription(System.Enum)"]

Examples
System.Console.WriteLine(Utility.EnumHelper.GetDescritpion(EnumA.Value));
System.Console.WriteLine(Utility.EnumHelper.GetDescritpion(EnumB.Value));
See Also