ConstructorInfoWrapper::IsDefined Method (Type^, Boolean)

 

Determines whether one or more attributes of the specified type or of its derived types is applied to this member.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
virtual bool IsDefined(
	Type^ attributeType,
	bool inherit
) override

Parameters

attributeType
Type: System::Type^

The type of custom attribute to search for. The search includes derived types.

inherit
Type: System::Boolean

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

Return Value

Type: System::Boolean

Returns Boolean.

Return to top
Show: