Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ReflectedParameterDescriptor.IsDefined Method

Returns a value that indicates whether one or more instances of a custom attribute type are defined for this member.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public override bool IsDefined(
	Type attributeType,
	bool inherit


Type: System.Type

The type of the custom attributes.

Type: System.Boolean

true to look up the hierarchy chain for the inherited custom attribute; otherwise, false.

Return Value

Type: System.Boolean
true if the custom attribute type is defined for this member; otherwise, false.


ICustomAttributeProvider.IsDefined(Type, Boolean)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.