ICustomAttributeProvider::IsDefined Method (Type^, Boolean)
.NET Framework (current version)
Indicates whether one or more instance of attributeType is defined on this member.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- attributeType
-
Type:
System::Type^
The type of the custom attributes.
- inherit
-
Type:
System::Boolean
When true, look up the hierarchy chain for the inherited custom attribute.
Return Value
Type: System::Booleantrue if the attributeType is defined on this member; false otherwise.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: