共用方式為


Session.LoadProject Method (IProjectStorage)

 

Creates a new project of type Project from the projectStorage and loads it inside a Session object.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)

Syntax

public Project LoadProject(
    IProjectStorage projectStorage
)
public:
Project^ LoadProject(
    IProjectStorage^ projectStorage
)
member LoadProject : 
        projectStorage:IProjectStorage -> Project
Public Function LoadProject (
    projectStorage As IProjectStorage
) As Project

Parameters

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.Project

The loaded project of type Project.

See Also

Session Class
Microsoft.VisualStudio.Tools.Applications Namespace

Return to top