Share via


IVsAddNewWebProjectItemDlg.AddNewWebProjectItemDlg Method

Definition

Displays an Add Item dialog in a web project implementation.

public:
 int AddNewWebProjectItemDlg(System::UInt32 itemidLoc, Guid % rguidProject, Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, System::String ^ pszDlgTitle, System::String ^ lpszHelpTopic, System::String ^ lpszLanguage, System::String ^ lpszSelect, System::UInt32 options);
public int AddNewWebProjectItemDlg (uint itemidLoc, ref Guid rguidProject, Microsoft.VisualStudio.Shell.Interop.IVsProject pProject, string pszDlgTitle, string lpszHelpTopic, string lpszLanguage, string lpszSelect, uint options);
abstract member AddNewWebProjectItemDlg : uint32 * Guid * Microsoft.VisualStudio.Shell.Interop.IVsProject * string * string * string * string * uint32 -> int
Public Function AddNewWebProjectItemDlg (itemidLoc As UInteger, ByRef rguidProject As Guid, pProject As IVsProject, pszDlgTitle As String, lpszHelpTopic As String, lpszLanguage As String, lpszSelect As String, options As UInteger) As Integer

Parameters

itemidLoc
UInt32

[in] Hierarchy tem to add the dialog to. A VSITEMID uniquely identifies a node within an IVsHierarchy.

rguidProject
Guid

[in] The GUID of project.

pProject
IVsProject

[in] The project's IVsProject interface.

pszDlgTitle
String

[in] Dialog box caption (can be null).

lpszHelpTopic
String

[in] Name of help topic to use for the dialog.

lpszLanguage
String

[in] Directory (language) to select by default.

lpszSelect
String

[in] Item to select.

options
UInt32

[in] Options to set on the dialog box. Bit array using flag values from __VSADDNEWWEBITEMOPTIONS.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsAddNewWebProjectItemDlg::AddNewWebProjectItemDlg(  
   [in] VSITEMID itemidLoc,   
   [in] REFGUID rguidProject,   
   [in] IVsProject *pProject,   
   [in] LPCOLESTR pszDlgTitle,   
   [in] LPCOLESTR lpszHelpTopic,   
   [in] LPCOLESTR lpszLanguage,   
   [in] LPCOLESTR lpszSelect,   
   [in] VSADDNEWWEBITEMOPTIONS options  
;  

Applies to