IVsSolution3.CreateNewProjectViaDlgEx Method
Opens the New Project dialog and expands specified nodes.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function CreateNewProjectViaDlgEx ( _
pszDlgTitle As String, _
pszTemplateDir As String, _
pszExpand As String, _
pszSelect As String, _
pszHelpTopic As String, _
cnpvdeFlags As UInteger, _
pBrowse As IVsBrowseProjectLocation _
) As Integer
'用途
Dim instance As IVsSolution3
Dim pszDlgTitle As String
Dim pszTemplateDir As String
Dim pszExpand As String
Dim pszSelect As String
Dim pszHelpTopic As String
Dim cnpvdeFlags As UInteger
Dim pBrowse As IVsBrowseProjectLocation
Dim returnValue As Integer
returnValue = instance.CreateNewProjectViaDlgEx(pszDlgTitle, _
pszTemplateDir, pszExpand, pszSelect, _
pszHelpTopic, cnpvdeFlags, pBrowse)
int CreateNewProjectViaDlgEx(
string pszDlgTitle,
string pszTemplateDir,
string pszExpand,
string pszSelect,
string pszHelpTopic,
uint cnpvdeFlags,
IVsBrowseProjectLocation pBrowse
)
int CreateNewProjectViaDlgEx(
[InAttribute] String^ pszDlgTitle,
[InAttribute] String^ pszTemplateDir,
[InAttribute] String^ pszExpand,
[InAttribute] String^ pszSelect,
[InAttribute] String^ pszHelpTopic,
[InAttribute] unsigned int cnpvdeFlags,
[InAttribute] IVsBrowseProjectLocation^ pBrowse
)
abstract CreateNewProjectViaDlgEx :
pszDlgTitle:string *
pszTemplateDir:string *
pszExpand:string *
pszSelect:string *
pszHelpTopic:string *
cnpvdeFlags:uint32 *
pBrowse:IVsBrowseProjectLocation -> int
function CreateNewProjectViaDlgEx(
pszDlgTitle : String,
pszTemplateDir : String,
pszExpand : String,
pszSelect : String,
pszHelpTopic : String,
cnpvdeFlags : uint,
pBrowse : IVsBrowseProjectLocation
) : int
Parameters
- pszDlgTitle
Type: System.String
[in] Title of the dialog box.
- pszTemplateDir
Type: System.String
[in] Location of the template folder.
- pszExpand
Type: System.String
[in] The node to expand.
- pszSelect
Type: System.String
[in] The node to select.
- pszHelpTopic
Type: System.String
[in] Help topic ID.
- cnpvdeFlags
Type: System.UInt32
[in] A __VSCREATENEWPROJVIADLGEXFLAGS value specifying project creation options.
- pBrowse
Type: Microsoft.VisualStudio.Shell.Interop.IVsBrowseProjectLocation
[in] A IVsBrowseProjectLocation specifying a project browser location.
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 IVsSolution3::CreateNewProjectViaDlgEx(
[in] LPCOLESTR pszDlgTitle,
[in] LPCOLESTR pszTemplateDir,
[in] LPCOLESTR pszExpand,
[in] LPCOLESTR pszSelect,
[in] LPCOLESTR pszHelpTopic,
[in] VSCREATENEWPROJVIADLGEXFLAGS cnpvdeFlags,
[in] IVsBrowseProjectLocation *pBrowse
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.