Bagikan melalui


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 with get
abstract function get TestMethodInfo () : MethodInfo

Property Value

Type: MethodInfo
The MethodInfo of the test method.

.NET Framework Security

See Also

Reference

TestMethodInvokerContext Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

MethodInfo