Metoda ConstructorInfoWrapper.IsDefined —
Ten element członkowski zastępuje element MemberInfo.IsDefined(Type, Boolean).
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Design
Zestaw: Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)
Składnia
'Deklaracja
Public Overrides Function IsDefined ( _
attributeType As Type, _
inherit As Boolean _
) As Boolean
public override bool IsDefined(
Type attributeType,
bool inherit
)
Parametry
- attributeType
Typ: System.Type
- inherit
Typ: System.Boolean
Wartość zwracana
Typ: System.Boolean
Implementuje
ICustomAttributeProvider.IsDefined(Type, Boolean)
_MemberInfo.IsDefined(Type, Boolean)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..