Method | Description | |
---|---|---|
EnumMetadataDisplay ( this value ) : string |
获取枚举项上设置的显示文字
|
|
ToDescription ( this value ) : string |
获取枚举项上的DescriptionAttribute特性的文字描述
|
public static EnumMetadataDisplay ( this value ) : string | ||
value | this | 被扩展对象 |
return | string |
public static ToDescription ( this value ) : string | ||
value | this | |
return | string |