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.
Saves the specified array of tests to the specified location by using the provided Load object.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Sub Save ( _
tests As ITestElement(), _
location As String, _
projectData As ProjectData _
)
void Save(
ITestElement[] tests,
string location,
ProjectData projectData
)
void Save(
array<ITestElement^>^ tests,
String^ location,
ProjectData^ projectData
)
abstract Save :
tests:ITestElement[] *
location:string *
projectData:ProjectData -> unit
function Save(
tests : ITestElement[],
location : String,
projectData : ProjectData
)
Parameters
- tests
Type: array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
An array of ITestElement objects.
- location
Type: System.String
A string that contains the relative path of the location where the data is to be saved.
- projectData
Type: Microsoft.VisualStudio.TestTools.Common.ProjectData
A ProjectData object.
.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.