ParameterDescriptor::IsDefined Method
Visual Studio 2010
Indicates whether one or more instances of a custom attribute type are defined for this member.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- attributeType
- Type: System::Type
The type of the custom attributes.
- inherit
- Type: System::Boolean
true to look up the hierarchy chain for the inherited custom attribute; otherwise, false.
Return Value
Type: System::Booleantrue if the custom attribute type is defined for this member; otherwise, false.
Implements
ICustomAttributeProvider::IsDefined(Type, Boolean)| Exception | Condition |
|---|---|
| ArgumentNullException | The attributeType parameter is nullptr. |
Community Additions
ADD
Show: