AttributeHelperGetCustomAttributes Method |
Gets the custom attributes of the given type for the given member.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax 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:
ObjectSee Also