Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITip::Load Method (String^, ProjectData^, IWarningHandler^)

 

Loads elements from the specified location into memory.

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

ICollection^ Load(
	String^ location,
	ProjectData^ projectData,
	IWarningHandler^ warningHandler
)

Parameters

location
Type: System::String^

A string that contains the path for the test to load the test elements.

projectData
Type: Microsoft.VisualStudio.TestTools.Common::ProjectData^

A ProjectData object.

warningHandler
Type: Microsoft.VisualStudio.TestTools.Common::IWarningHandler^

An IWarningHandler object.

Return Value

Type: System.Collections::ICollection^

An ICollection object that contains the test elements.

If you want a derived class to support asynchronous test updates, the class should keep the location in memory and use the Test Management Interface (TMI) instance that is used in the constructor to call back and notify TMI of any changes.

Return to top
Show: