TestClassAttribute.GetTestMethodAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.