The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ComAwareEventInfo::IsDefined Method (Type^, Boolean)
.NET Framework (current version)
Indicates whether one or more instances of the specified attribute are applied to this member.
Assembly: System.Core (in System.Core.dll)
Parameters
- attributeType
-
Type:
System::Type^
The attribute type to search for.
- inherit
-
Type:
System::Boolean
true to search this member's inheritance chain to find the attributes; otherwise, false.
Return Value
Type: System::Booleantrue if the specified attribute has been applied to this member; otherwise, false.
ReflectionPermission
when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess
Show: