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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。