Share via


XmlTestReader.Read Method

Reads the specified XML file and returns an array of test objects.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Function Read ( _
    location As String _
) As Object()
public Object[] Read(
    string location
)
public:
array<Object^>^ Read(
    String^ location
)
member Read : 
        location:string -> Object[] 
public function Read(
    location : String
) : Object[]

Parameters

  • location
    Type: String

    The name of the file to read.

Return Value

Type: array<Object[]
An array of test objects.

.NET Framework Security

See Also

Reference

XmlTestReader Class

Microsoft.VisualStudio.TestTools.Common Namespace