Partager via


AdhocWorkspace.AddProjects(IEnumerable<ProjectInfo>) Method

Definition

Adds multiple projects to the workspace at once. All existing projects remain intact.

public:
 void AddProjects(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::ProjectInfo ^> ^ projectInfos);
public void AddProjects (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectInfo> projectInfos);
member this.AddProjects : seq<Microsoft.CodeAnalysis.ProjectInfo> -> unit
Public Sub AddProjects (projectInfos As IEnumerable(Of ProjectInfo))

Parameters

projectInfos
IEnumerable<ProjectInfo>

Applies to