TestStepEventArgs.TestStepId 属性

获取或设置测试步骤的 ID。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
Public Property TestStepId As Integer
    Get
    Private Set
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 安全性

请参见

参考

TestStepEventArgs 类

Microsoft.VisualStudio.TestTools.Execution 命名空间

#ctor(DataCollectionContext, Int32, String, Boolean, Int32, String)