次の方法で共有


IVsSolution6 Interface

Definition

Provides top-level manipulation or maintenance of the solution.

public interface class IVsSolution6
public interface class IVsSolution6
__interface IVsSolution6
[System.Runtime.InteropServices.Guid("96CB263F-EB15-4F70-B735-AD5AD7F6D363")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolution6
[<System.Runtime.InteropServices.Guid("96CB263F-EB15-4F70-B735-AD5AD7F6D363")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolution6 = interface
Public Interface IVsSolution6
Attributes

Remarks

Introduced in Visual Studio 2013 Update 2. To reference the correct assembly version, see Referencing Assemblies Delivered in the Visual Studio 2013 SDK Update 2.

Methods

AddExistingProject(String, IVsHierarchy, IVsHierarchy)

Adds an existing project to the solution.

AddNewProjectFromTemplate(String, Array, String, String, String, IVsHierarchy, IVsHierarchy)

Adds a new project to the solution, using a project template.

BrowseForExistingProject(String, String, Guid, String)

Uses the open project dialog to select a project.

SetProjectParent(IVsHierarchy, IVsHierarchy)

Sets the parent of the project. The solution considers pProject to be a child (in a nested hierarchy) of pParent, and it does not enumerate it in the solution hierarchy. The pParent hierarchy is responsible for adding a visual representation of this project in Solution Explorer. pParent is expected to implement IVsParentProject3, otherwise this method does nothing.

Applies to