IVsAddNewWebProjectItemDlg::AddNewWebProjectItemDlg Method (UInt32, Guid, IVsProject^, String^, String^, String^, String^, UInt32)

 

Displays an Add Item dialog in a web project implementation.

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

int AddNewWebProjectItemDlg(
	unsigned int itemidLoc,
	[InAttribute] Guid% rguidProject,
	IVsProject^ pProject,
	String^ pszDlgTitle,
	String^ lpszHelpTopic,
	String^ lpszLanguage,
	String^ lpszSelect,
	unsigned int options
)

Parameters

itemidLoc
Type: System::UInt32

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

rguidProject
Type: System::Guid

[in] The GUID of project.

pProject
Type: Microsoft.VisualStudio.Shell.Interop::IVsProject^

[in] The project's IVsProject interface.

pszDlgTitle
Type: System::String^

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

lpszHelpTopic
Type: System::String^

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

lpszLanguage
Type: System::String^

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

lpszSelect
Type: System::String^

[in] Item to select.

options
Type: System::UInt32

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

Return Value

Type: System::Int32

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

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
;
Return to top
Show: