ICustomAttributeProvider.IsDefined Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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.
Show: