Provides COM objects with version-independent access to the MemberInfo.IsDefined method.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Function IsDefined ( _ attributeType As Type, _ inherit As Boolean _ ) As Boolean
- Type: System.Type
The Type object to which the custom attributes are applied.
- Type: System.Boolean
Specifies whether to search this member's inheritance chain to find the attributes.
Return ValueType: System.Boolean
true if one or more instance of attributeType is applied to this member; otherwise, false.
This method is for access to managed classes from unmanaged code, and should not be called from managed code.
The MemberInfo.IsDefined method indicates whether one or more instance of attributeType is applied to this member.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.