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: 13.0.131
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