IVsOpenProjectOrSolutionDlg.OpenProjectOrSolutionViaDlg Method

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

Syntax

'Declaration
Function OpenProjectOrSolutionViaDlg ( _
    grfProjSlnDlgFlags As UInteger, _
    pwzStartDirectory As String, _
    pwzDialogTitle As String, _
    ByRef rguidProjectType As Guid _
) As Integer
'Usage
Dim instance As IVsOpenProjectOrSolutionDlg 
Dim grfProjSlnDlgFlags As UInteger 
Dim pwzStartDirectory As String 
Dim pwzDialogTitle As String 
Dim rguidProjectType As Guid 
Dim returnValue As Integer 

returnValue = instance.OpenProjectOrSolutionViaDlg(grfProjSlnDlgFlags, _
    pwzStartDirectory, pwzDialogTitle, _
    rguidProjectType)
int OpenProjectOrSolutionViaDlg(
    uint grfProjSlnDlgFlags,
    string pwzStartDirectory,
    string pwzDialogTitle,
    ref Guid rguidProjectType
)
int OpenProjectOrSolutionViaDlg(
    [InAttribute] unsigned int grfProjSlnDlgFlags, 
    [InAttribute] String^ pwzStartDirectory, 
    [InAttribute] String^ pwzDialogTitle, 
    [InAttribute] Guid% rguidProjectType
)
function OpenProjectOrSolutionViaDlg(
    grfProjSlnDlgFlags : uint, 
    pwzStartDirectory : String, 
    pwzDialogTitle : String, 
    rguidProjectType : Guid
) : int

Parameters

  • pwzDialogTitle
    Type: System.String

    [in] Dialog box title. Leave nulla null reference (Nothing in Visual Basic) for default title.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsOpenProjectOrSolutionDlg::OpenProjectOrSolutionViaDlg(
   [in] VSPROJSLNDLGFLAGS grfProjSlnDlgFlags, 
   [in] LPCOLESTR pwzStartDirectory, 
   [in] LPCOLESTR pwzDialogTitle, 
   [in] REFGUID rguidProjectType
);

.NET Framework Security

See Also

Reference

IVsOpenProjectOrSolutionDlg Interface

IVsOpenProjectOrSolutionDlg Members

Microsoft.VisualStudio.Shell.Interop Namespace