次の方法で共有


IProjectConfigurationService.SetCurrentProject Method

Definition

Set an Active Current Project

public:
 System::Threading::Tasks::Task ^ SetCurrentProject(Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext, System::String ^ name);
public System.Threading.Tasks.Task SetCurrentProject (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, string name);
public System.Threading.Tasks.Task SetCurrentProject (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext? projectFileContext, string? name);
abstract member SetCurrentProject : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * string -> System.Threading.Tasks.Task
Public Function SetCurrentProject (projectFileContext As ProjectTargetFileContext, name As String) As Task

Parameters

projectFileContext
ProjectTargetFileContext

The project file context

name
String

Optional project configuration name

Returns

Task completion

Applies to