TestStepEventArgs.TestStepId 屬性
取得或設定測試步驟的 ID。
命名空間: Microsoft.VisualStudio.TestTools.Execution
組件: Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
語法
'宣告
Public Property TestStepId As Integer
public int TestStepId { get; private set; }
public:
property int TestStepId {
int get ();
private: void set (int value);
}
member TestStepId : int with get, private set
function get TestStepId () : int
private function set TestStepId (value : int)
屬性值
型別:System.Int32
傳回測試步驟的 ID。
備註
識別發生資料收集的測試步驟,如果這類步驟並不存在,則會是 0。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.TestTools.Execution 命名空間
#ctor