Appearance
ServiceNow.Core
SNow.Core.Extensions.EnumExtensions
EnumExtensions.ToDescription<T>(T) Method
Get data from Description Attribute
csharp
public static string ToDescription<T>(this T type)
where T : System.Enum;Type parameters
Parameters
type T
Returns
System.String
The description text value