共用方式為


TestOutcomeHelper.Localize 方法

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

傳回當地語系化的結果訊息。

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

語法

'宣告
Public Shared Function Localize ( _
    outcome As TestOutcome _
) As String
public static string Localize(
    TestOutcome outcome
)
public:
static String^ Localize(
    TestOutcome outcome
)
static member Localize : 
        outcome:TestOutcome -> string 
public static function Localize(
    outcome : TestOutcome
) : String

參數

傳回值

型別:System.String
當地語系化的結果訊息。

.NET Framework 安全性

請參閱

參考

TestOutcomeHelper 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

TestOutcome