IVsAddNewWebProjectItemDlg Interface

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.

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

[InterfaceTypeAttribute()]
[GuidAttribute("41F92AB8-98B0-4CF4-907B-C5CE4403A570")]
public interface IVsAddNewWebProjectItemDlg

The IVsAddNewWebProjectItemDlg type exposes the following members.

  NameDescription
Public methodAddNewWebProjectItemDlgDisplays an Add Item dialog in a web project implementation.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft