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