Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a set of test variable objects from an XML file.
Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
IEnumerable<ITestVariable> CreateFromFile(
    string fileName
)
IEnumerable<ITestVariable^>^ CreateFromFile(
    String^ fileName
)
abstract CreateFromFile : 
        fileName:string -> IEnumerable<ITestVariable>
Function CreateFromFile (
    fileName As String
) As IEnumerable(Of ITestVariable)
Parameters
fileName
Type: System.StringThe path and file name for the XML file that contains a persisted test variable object.
Return Value
Type: System.Collections.Generic.IEnumerable<ITestVariable>
A test variable object.
Exceptions
| Exception | Condition | 
|---|---|
| XmlSchemaValidationException | The provided XML file failed the schema validation.  | 
| TestManagementValidationException | The instantiated test variable object failed validation.  | 
See Also
ITestVariable
ITestVariableHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top