Click or drag to resize
ParameterInfoGetCustomAttributes Method (Boolean)
Gets all the custom attributes defined on this parameter.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual Object[] GetCustomAttributes(
	bool inherit
)

Parameters

inherit
Type: SystemBoolean
This argument is ignored for objects of this type. See Remarks.

Return Value

Type: Object
An array that contains all the custom attributes applied to this parameter.
Exceptions
ExceptionCondition
TypeLoadExceptionA custom attribute type could not be loaded.
See Also