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
value
Type: StringAn ITestVariable object.
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
- 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.