TaskAsyncActionDescriptor.IsDefined Method
Returns a value that indicates whether one or more instance of the specified custom attribute are defined for this member.
Namespace: System.Web.Mvc.Async
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Overrides Function IsDefined ( _ attributeType As Type, _ inherit As Boolean _ ) As Boolean 'Usage Dim instance As TaskAsyncActionDescriptor Dim attributeType As Type Dim inherit As Boolean Dim returnValue As Boolean returnValue = instance.IsDefined(attributeType, _ inherit)
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.BooleanA value that indicates whether one or more instance of the specified custom attribute are defined for this member.
Implements
ICustomAttributeProvider.IsDefined(Type, Boolean)
Show: