共用方式為


TestRunContextEvent.TestRunId Property

Gets the ID of this test run.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'宣告
Public ReadOnly Property TestRunId As Integer
    Get
public int TestRunId { get; }
public:
property int TestRunId {
    int get ();
}
member TestRunId : int
function get TestRunId () : int

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

TestRunContextEvent Class

Microsoft.VisualStudio.IntelliTrace Namespace