Udostępnij za pośrednictwem


TestClassAttribute.GetTestMethodAttribute Method

Definition

Gets a test method attribute that enables running this test.

public:
 virtual Microsoft::VisualStudio::TestTools::UnitTesting::TestMethodAttribute ^ GetTestMethodAttribute(Microsoft::VisualStudio::TestTools::UnitTesting::TestMethodAttribute ^ testMethodAttribute);
public virtual Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute GetTestMethodAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute testMethodAttribute);
abstract member GetTestMethodAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute -> Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute
override this.GetTestMethodAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute -> Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute
Public Overridable Function GetTestMethodAttribute (testMethodAttribute As TestMethodAttribute) As TestMethodAttribute

Remarks

Extensions can override this method to customize how all methods in a class are run.

Applies to