Metoda ConstructorInfoWrapper.GetCustomAttributes — (Type, Boolean)
Ten element członkowski zastępuje element MemberInfo.GetCustomAttributes(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 GetCustomAttributes ( _
attributeType As Type, _
inherit As Boolean _
) As Object()
public override Object[] GetCustomAttributes(
Type attributeType,
bool inherit
)
Parametry
- attributeType
Typ: System.Type
- inherit
Typ: System.Boolean
Wartość zwracana
Typ: array<System.Object[]
Implementuje
ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)
_MemberInfo.GetCustomAttributes(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..