Partager via


Tip.Load Method

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
Public MustOverride Function Load ( _
    location As String, _
    projectData As ProjectData, _
    warningHandler As IWarningHandler _
) As ICollection
public abstract ICollection Load(
    string location,
    ProjectData projectData,
    IWarningHandler warningHandler
)
public:
virtual ICollection^ Load(
    String^ location, 
    ProjectData^ projectData, 
    IWarningHandler^ warningHandler
) abstract
abstract Load : 
        location:string * 
        projectData:ProjectData * 
        warningHandler:IWarningHandler -> ICollection
public abstract function Load(
    location : String, 
    projectData : ProjectData, 
    warningHandler : IWarningHandler
) : ICollection

Parameters

  • location
    Type: String

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

Return Value

Type: ICollection
An ICollection object that contains the test elements.

Implements

ITip.Load(String, ProjectData, IWarningHandler)

Remarks

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

.NET Framework Security

See Also

Reference

Tip Class

Microsoft.VisualStudio.TestTools.Common Namespace