RunResultAndStatistics.Outcome 屬性
取得或設定相關聯測試回合的結果。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
<VisiblePropertyAttribute> _
Public Property Outcome As TestOutcome
[VisiblePropertyAttribute]
public TestOutcome Outcome { get; set; }
[VisiblePropertyAttribute]
public:
property TestOutcome Outcome {
TestOutcome get ();
void set (TestOutcome value);
}
[<VisiblePropertyAttribute>]
member Outcome : TestOutcome with get, set
function get Outcome () : TestOutcome
function set Outcome (value : TestOutcome)
屬性值
型別:Microsoft.VisualStudio.TestTools.Common.TestOutcome
相關聯測試回合的結果。
備註
這個屬性的當地語系化文字版本會在 Visual Studio Test Professional 的使用者介面中顯示。 如需詳細資訊,請參閱 OutcomeText 屬性 (Property)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。