TestResult.Outcome 屬性

使用相關聯測試結果的詳細資料以取得或設定物件。

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

語法

'宣告
<UserVisiblePropertyAttribute("{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")> _
<GroupingPropertyAttribute> _
Public Property Outcome As TestOutcome
[UserVisiblePropertyAttribute("{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")]
[GroupingPropertyAttribute]
public TestOutcome Outcome { get; set; }
[UserVisiblePropertyAttribute(L"{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")]
[GroupingPropertyAttribute]
public:
property TestOutcome Outcome {
    TestOutcome get ();
    void set (TestOutcome value);
}
[<UserVisiblePropertyAttribute("{B27F4E1B-4DF4-41bd-8B86-671BAE2D7067}")>]
[<GroupingPropertyAttribute>]
member Outcome : TestOutcome with get, set
function get Outcome () : TestOutcome
function set Outcome (value : TestOutcome)

屬性值

型別:Microsoft.VisualStudio.TestTools.Common.TestOutcome
相關聯測試結果的相關詳細資料。

.NET Framework 安全性

請參閱

參考

TestResult 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

TestOutcome