Sdílet prostřednictvím


IVsSolutionWorkspaceService.OpenSolutionWorkspace(String) Method

Definition

Open a solution

public:
 Microsoft::VisualStudio::Workspace::IWorkspace ^ OpenSolutionWorkspace(System::String ^ solutionPath);
public Microsoft.VisualStudio.Workspace.IWorkspace OpenSolutionWorkspace (string solutionPath);
abstract member OpenSolutionWorkspace : string -> Microsoft.VisualStudio.Workspace.IWorkspace
Public Function OpenSolutionWorkspace (solutionPath As String) As IWorkspace

Parameters

solutionPath
String

Path to a solution file

Returns

A new solution workspace being created

Applies to