Condividi tramite


IVsAddNewWebProjectItemDlg Interface

Definition

Displays the AddItem dialog with a listview control and specific Web-related controls. Use in Web project implementations. You can get an instance of the interface from the SVsAddProjectItemDlg (SID_SVsAddProjectItemDlg) service.

public interface class IVsAddNewWebProjectItemDlg
public interface class IVsAddNewWebProjectItemDlg
__interface IVsAddNewWebProjectItemDlg
[System.Runtime.InteropServices.Guid("41F92AB8-98B0-4CF4-907B-C5CE4403A570")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsAddNewWebProjectItemDlg
[<System.Runtime.InteropServices.Guid("41F92AB8-98B0-4CF4-907B-C5CE4403A570")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsAddNewWebProjectItemDlg = interface
Public Interface IVsAddNewWebProjectItemDlg
Attributes

Remarks

This version implicitly sets the following VSADDITEMFLAGS:

Value Meaning
VSADDITEM_SuggestTemplateName Suggest a template name for the item.
VSADDITEM_AddNewItems Use the Add New Item dialog. This is mutually exclusive to VSADDITEM_AddExistingItems.
VSADDITEM_AllowHiddenTreeView Allow hiding of the tree view if there is only template node.

Assume the remainder of the flags are reset.

You can pass these flags as an input parameter to the dialog to preset these options. The options are also passed to AddNewWebItem when the user clicks OK.

Methods

AddNewWebProjectItemDlg(UInt32, Guid, IVsProject, String, String, String, String, UInt32)

Displays an Add Item dialog in a web project implementation.

Applies to