Partager via


ITestMethod.GetAllAttributes(Boolean) Method

Definition

Get all attributes of the test method.

public:
 cli::array <Attribute ^> ^ GetAllAttributes(bool inherit);
public Attribute[] GetAllAttributes (bool inherit);
abstract member GetAllAttributes : bool -> Attribute[]
Public Function GetAllAttributes (inherit As Boolean) As Attribute()

Parameters

inherit
Boolean

Whether attribute defined in parent class is valid.

Returns

All attributes.

Applies to