System.Reflection.CustomAttributeExtensions.IsDefined Method

Indicates whether custom attributes of a specified type are applied to a specified parameter.

Syntax

public static bool IsDefined (this ParameterInfo element, Type attributeType)

Parameters

element
The parameter to inspect.
attributeType
The type of attribute to search for.

Returns

true if an attribute of the specified type is applied to element; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0