This topic has not yet been rated - Rate this topic

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)

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

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ