Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether one or more attributes of the specified type or of its derived types is applied to this member.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Overrides Function IsDefined ( _
attributeType As Type, _
inherit As Boolean _
) As Boolean
public override bool IsDefined(
Type attributeType,
bool inherit
)
public:
virtual bool IsDefined(
Type^ attributeType,
bool inherit
) override
abstract IsDefined :
attributeType:Type *
inherit:bool -> bool
override IsDefined :
attributeType:Type *
inherit:bool -> bool
public override function IsDefined(
attributeType : Type,
inherit : boolean
) : boolean
Parameters
attributeType
Type: TypeThe type of custom attribute to search for. The search includes derived types.
inherit
Type: Booleantrue to search this member's inheritance chain to find the attributes; otherwise, false.
Return Value
Type: Boolean
Returns Boolean.
Implements
ICustomAttributeProvider.IsDefined(Type, Boolean)
_MemberInfo.IsDefined(Type, Boolean)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.