다음을 통해 공유


ConstructorInfoWrapper.GetCustomAttributes Method (Boolean)

Gets all the custom attributes 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 GetCustomAttributes ( _
    inherit As Boolean _
) As Object()
public override Object[] GetCustomAttributes(
    bool inherit
)
public:
virtual array<Object^>^ GetCustomAttributes(
    bool inherit
) override
abstract GetCustomAttributes : 
        inherit:bool -> Object[] 
override GetCustomAttributes : 
        inherit:bool -> Object[] 
public override function GetCustomAttributes(
    inherit : boolean
) : Object[]

Parameters

  • inherit
    Type: Boolean

    true to search this member's inheritance chain to find the attributes; otherwise, false.

Return Value

Type: array<Object[]
Returns Object.

Implements

ICustomAttributeProvider.GetCustomAttributes(Boolean)
_MemberInfo.GetCustomAttributes(Boolean)

.NET Framework Security

See Also

Reference

ConstructorInfoWrapper Class

GetCustomAttributes Overload

Microsoft.VisualStudio.Shell.Design Namespace