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.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.