共用方式為


TestCaseEventArgs.TestCaseId 屬性

取得或設定測試案例識別項。

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

語法

'宣告
Public Property TestCaseId As Guid
public Guid TestCaseId { get; private set; }
public:
property Guid TestCaseId {
    Guid get ();
    private: void set (Guid value);
}
member TestCaseId : Guid with get, private set
function get TestCaseId () : Guid
private function set TestCaseId (value : Guid)

屬性值

型別:System.Guid
測試案例 ID。

.NET Framework 安全性

請參閱

參考

TestCaseEventArgs 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間

#ctor