Share via


TestMethodInvokerContext.TestMethodInfo Property

Gets the MethodInfo of the test method.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property TestMethodInfo As MethodInfo
public abstract MethodInfo TestMethodInfo { get; }
public:
virtual property MethodInfo^ TestMethodInfo {
    MethodInfo^ get () abstract;
}
abstract TestMethodInfo : MethodInfo
abstract function get TestMethodInfo () : MethodInfo

Property Value

Type: System.Reflection.MethodInfo
The MethodInfo of the test method.

.NET Framework Security

See Also

Reference

TestMethodInvokerContext Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

MethodInfo