Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
A collection of the custom attributes that are applied to element and that match attributeType, or an empty collection if no such attributes exist.