ConstructorInfoWrapper.GetCustomAttributes Method (Type, Boolean)
Gets all the custom attributes applied to this member of the specified type.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Overrides Function GetCustomAttributes ( _
attributeType As Type, _
inherit As Boolean _
) As Object()
public override Object[] GetCustomAttributes(
Type attributeType,
bool inherit
)
public:
virtual array<Object^>^ GetCustomAttributes(
Type^ attributeType,
bool inherit
) override
abstract GetCustomAttributes :
attributeType:Type *
inherit:bool -> Object[]
override GetCustomAttributes :
attributeType:Type *
inherit:bool -> Object[]
public override function GetCustomAttributes(
attributeType : Type,
inherit : boolean
) : Object[]
Parameters
attributeType
Type: TypeThe type of attribute
inherit
Type: Booleantrue to search this member's inheritance chain to find the attributes; otherwise, false.
Return Value
Type: array<Object[]
Returns Object.
Implements
ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)
_MemberInfo.GetCustomAttributes(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.