JSMethod.GetCustomAttributes JSMethod.GetCustomAttributes JSMethod.GetCustomAttributes JSMethod.GetCustomAttributes Method

Definition

Returns an array that contains the custom attributes that are attached to this method.

Overloads

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

Returns an array that contains the custom attributes that are attached to this method.

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

Returns an array that contains the custom attributes that are attached to this method, searching only for attributes of the specified type.

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

Returns an array that contains the custom attributes that are attached to this method.

public:
 override cli::array <System::Object ^> ^ 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 Boolean Boolean Boolean

true to search this member's inheritance hierarchy to find the attributes.

Returns

Object[]

An array of Object objects that has zero elements.

See also

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

Returns an array that contains the custom attributes that are attached to this method, searching only for attributes of the specified type.

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

Parameters

t
Type Type Type Type

The type of attribute to search for.

inherit
Boolean Boolean Boolean Boolean

true to search this member's inheritance hierarchy to find the attributes.

Returns

Object[]

An array of Object objects that has zero elements.

See also

Applies to