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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.