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