ParameterInfoGetCustomAttributes Method (Boolean) |
Gets all the custom attributes defined on this parameter.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual Object[] GetCustomAttributes(
bool inherit
)
Parameters
- inherit
- Type: SystemBoolean
This argument is ignored for objects of this type. See Remarks.
Return Value
Type:
ObjectAn array that contains all the custom attributes applied to this parameter.
Exceptions Exception | Condition |
---|
TypeLoadException | A custom attribute type could not be loaded. |
See Also