Class EnumHelper
Inheritance
System.Object
EnumHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Reporting.Utils
Assembly: Telerik.Reporting.dll
Syntax
public static class EnumHelper
Methods
GetAttributeOfType<T>(Enum)
Gets the first attribute occurrence of particular attribute type.
Declaration
public static T GetAttributeOfType<T>(this Enum enumVal)
where T : Attribute
Parameters
System.Enum
enumVal
The enum value. |
Returns
T
|
Type Parameters
T
|