IVsCustomWorkspaceService2.OpenWorkspaceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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