Progress® Telerik® Reporting R3 2021

EnumHelper.GetAttributeOfType... Method

Gets the first attribute occurrence of particular attribute type.

Namespace:  Telerik.Reporting.Utils
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)


public static T GetAttributeOfType<T>(
	this Enum enumVal
where T : Attribute


Type: SystemEnum
The enum value.

Type Parameters


Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Enum. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?