Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
A custom attribute matching attributeType, or null if no such attribute is found.
Use the CustomAttributeExtensions.GetCustomAttributes(Assembly, Type) extension method if you expect more than one value to be returned, or System.Reflection.AmbiguousMatchException will be thrown.