다음을 통해 공유


IVsSolution6.AddExistingProject Method

Adds an existing project to the solution.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)

Syntax

'Declaration
Function AddExistingProject ( _
    szFullPath As String, _
    pParent As IVsHierarchy, _
    <OutAttribute> ByRef ppNewProj As IVsHierarchy _
) As Integer
int AddExistingProject(
    string szFullPath,
    IVsHierarchy pParent,
    out IVsHierarchy ppNewProj
)
int AddExistingProject(
    [InAttribute] String^ szFullPath, 
    [InAttribute] IVsHierarchy^ pParent, 
    [OutAttribute] IVsHierarchy^% ppNewProj
)
abstract AddExistingProject : 
        szFullPath:string * 
        pParent:IVsHierarchy * 
        ppNewProj:IVsHierarchy byref -> int
function AddExistingProject(
    szFullPath : String, 
    pParent : IVsHierarchy, 
    ppNewProj : IVsHierarchy
) : int

Parameters

  • szFullPath
    Type: String

    The full path of the project.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IVsSolution6 Interface

Microsoft.VisualStudio.Shell.Interop Namespace