Loads elements from the specified ___location into memory.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Function Load ( _
___location As String, _
projectData As ProjectData, _
warningHandler As IWarningHandler _
) As ICollection
ICollection Load(
string ___location,
ProjectData projectData,
IWarningHandler warningHandler
)
ICollection^ Load(
String^ ___location,
ProjectData^ projectData,
IWarningHandler^ warningHandler
)
abstract Load :
___location:string *
projectData:ProjectData *
warningHandler:IWarningHandler -> ICollection
function Load(
___location : String,
projectData : ProjectData,
warningHandler : IWarningHandler
) : ICollection
Parameters
___location
Type: StringA string that contains the path for the test to load the test elements.
projectData
Type: Microsoft.VisualStudio.TestTools.Common.ProjectDataA ProjectData object.
warningHandler
Type: Microsoft.VisualStudio.TestTools.Common.IWarningHandlerAn IWarningHandler object.
Return Value
Type: ICollection
An ICollection object that contains the test elements.
Remarks
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.
.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.