IVsCustomWorkspaceService2.OpenWorkspaceAsync Method

Definition

Create a custom workspace to be displayed in VS

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::IWorkspace ^> ^ OpenWorkspaceAsync(System::String ^ path, Microsoft::VisualStudio::Workspace::VSIntegration::CustomWorkspaceArguments ^ arguments);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IWorkspace> OpenWorkspaceAsync (string path, Microsoft.VisualStudio.Workspace.VSIntegration.CustomWorkspaceArguments arguments);
abstract member OpenWorkspaceAsync : string * Microsoft.VisualStudio.Workspace.VSIntegration.CustomWorkspaceArguments -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IWorkspace>
Public Function OpenWorkspaceAsync (path As String, arguments As CustomWorkspaceArguments) As Task(Of IWorkspace)

Parameters

path
String

Path to directory to open

arguments
CustomWorkspaceArguments

Arguments to control the behavior, capabilities, and visuals of the workspace.

Returns

Created workspace to be displayed

Applies to