Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Public Shared Function Localize ( _
outcome As TestOutcome _
) As String
'使用
Dim outcome As TestOutcome
Dim returnValue As String
returnValue = TestOutcomeHelper.Localize(outcome)
public static string Localize(
TestOutcome outcome
)
public:
static String^ Localize(
TestOutcome outcome
)
public static function Localize(
outcome : TestOutcome
) : String
Parameters
- outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
Return Value
Type: System.String
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.