ReflectedAsyncActionDescriptor.IsDefined Method
Visual Studio 2010
Determines whether one or more instances of the specified attribute type are defined for the action member.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Overrides Function IsDefined ( _ attributeType As Type, _ inherit As Boolean _ ) As Boolean
Parameters
- attributeType
- Type: System.Type
The type of the custom attribute.
- inherit
- Type: System.Boolean
true to look up the hierarchy chain for the inherited custom attribute; otherwise, false.
Return Value
Type: System.Booleantrue if an attribute of type that is represented by attributeType is defined for this member; otherwise, false.
Implements
ICustomAttributeProvider.IsDefined(Type, Boolean)Community Additions
ADD
Show: