Compartir a través de


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("41F92AB8-98B0-4CF4-907B-C5CE4403A570")> _
Public Interface IVsAddNewWebProjectItemDlg
[InterfaceTypeAttribute()]
[GuidAttribute("41F92AB8-98B0-4CF4-907B-C5CE4403A570")]
public interface IVsAddNewWebProjectItemDlg
[InterfaceTypeAttribute()]
[GuidAttribute(L"41F92AB8-98B0-4CF4-907B-C5CE4403A570")]
public interface class IVsAddNewWebProjectItemDlg
[<InterfaceTypeAttribute()>]
[<GuidAttribute("41F92AB8-98B0-4CF4-907B-C5CE4403A570")>]
type IVsAddNewWebProjectItemDlg =  interface end
public interface IVsAddNewWebProjectItemDlg

The IVsAddNewWebProjectItemDlg type exposes the following members.

Methods

  Name Description
Public method AddNewWebProjectItemDlg Displays an Add Item dialog in a web project implementation.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace