Progress® Telerik® Reporting R2 2019

EnumHelper.GetAttributeOfType... Method

Gets the first attribute occurrence of particular attribute type.

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

Syntax

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

Parameters

enumVal
Type: SystemEnum
The enum value.

Type Parameters

T

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?