Partager via


ITestVariableHelper.CreateVariableValue Method

Creates a test value object for the provided test variable object.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function CreateVariableValue ( _
    value As String _
) As ITestVariableValue
ITestVariableValue CreateVariableValue(
    string value
)
ITestVariableValue^ CreateVariableValue(
    String^ value
)
abstract CreateVariableValue : 
        value:string -> ITestVariableValue
function CreateVariableValue(
    value : String
) : ITestVariableValue

Parameters

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestVariableValue
A test variable value object.

Remarks

After it is created, this object must be added to ITestVariable.AllowedValues collection.

.NET Framework Security

See Also

Reference

ITestVariableHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestVariableValue

ITestVariable