共用方式為


TestResultAggregation.CurrentTestIndex 屬性

表示測試結果陣列中目前測試結果的索引 (如果這是中繼結果而非最終結果的話)。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

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

屬性值

類型:Int32
測試結果陣列中目前測試結果的索引。

.NET Framework 安全性

請參閱

參考

TestResultAggregation 類別

Microsoft.VisualStudio.TestTools.Common 命名空間