This member overrides MemberInfo.IsDefined(Type, Boolean).
Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
声明
Public Overrides Function IsDefined ( _
    attributeType As Type, _
    inherit As Boolean _
) As Boolean
用法
Dim instance As ConstructorInfoWrapper
Dim attributeType As Type
Dim inherit As Boolean
Dim returnValue As Boolean
returnValue = instance.IsDefined(attributeType, _
    inherit)
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: System.Type 
- inherit
Type: System.Boolean 
Return Value
Type: System.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.