Methods of System.Reflection.CustomAttributeProvider

Signature Description Copy
object[] GetCustomAttributes(bool inherit) Returns an array of all custom attributes applied to this member.
object[] GetCustomAttributes(Type attributeType, bool inherit) Returns an array of custom attributes of a specified type applied to this member.
bool IsDefined(Type attributeType, bool inherit) Indicates whether one or more instances of attributeType are applied to this member.
IEnumerable<CustomAttributeData> GetCustomAttributesData() Returns data about the custom attributes applied to a member without creating instances of the attributes.