Click or drag to resize
AttributeHelperGetCustomAttributes Method
Gets the custom attributes of the given type for the given member.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
public static Object[] GetCustomAttributes(
	MethodInfo method,
	Type attributeType
)

Parameters

method
Type: System.ReflectionMethodInfo
Method for which extract the custom attributes.
attributeType
Type: SystemType
The type of attribute to search for. Only attributes that are assignable to this type are returned.

Return Value

Type: Object
See Also