次の方法で共有


ConstructorInfoWrapper.GetCustomAttributes Method

Definition

Overloads

GetCustomAttributes(Boolean)

Gets all the custom attributes applied to this member.

GetCustomAttributes(Type, Boolean)

Gets all the custom attributes applied to this member of the specified type.

GetCustomAttributes(Boolean)

Gets all the custom attributes applied to this member.

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(bool inherit);
public:
 override Platform::Array <Platform::Object ^> ^ GetCustomAttributes(bool inherit);
 override std::Array <winrt::Windows::Foundation::IInspectable const &> GetCustomAttributes(bool inherit);
public override object[] GetCustomAttributes (bool inherit);
override this.GetCustomAttributes : bool -> obj[]
Public Overrides Function GetCustomAttributes (inherit As Boolean) As Object()

Parameters

inherit
Boolean

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

Returns

Object[]

Returns Object.

Applies to

GetCustomAttributes(Type, Boolean)

Gets all the custom attributes applied to this member of the specified type.

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(Type ^ attributeType, bool inherit);
public:
 override Platform::Array <Platform::Object ^> ^ GetCustomAttributes(Platform::Type ^ attributeType, bool inherit);
public override object[] GetCustomAttributes (Type attributeType, bool inherit);
override this.GetCustomAttributes : Type * bool -> obj[]
Public Overrides Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object()

Parameters

attributeType
Type

The type of attribute

inherit
Boolean

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

Returns

Object[]

Returns Object.

Applies to