ReflectedAsyncActionDescriptor.IsDefined(Type, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether one or more instances of the specified attribute type are defined for the action member.
public override bool IsDefined(Type attributeType, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean
Parameters
- attributeType
- Type
The type of the custom attribute.
- inherit
- Boolean
true to look up the hierarchy chain for the inherited custom attribute; otherwise, false.
Returns
true if an attribute of type that is represented by attributeType
is defined for this member; otherwise, false.