This documentation is archived and is not being maintained.


Controls the characteristics of items added to a hierarchy.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

public enum class __VSADDITEMFLAGS
/** @attribute FlagsAttribute() */ 
public enum __VSADDITEMFLAGS
public enum __VSADDITEMFLAGS

 Member nameDescription
VSADDITEM_AddExistingItemsUses the Add Existing Item dialog box (mutually exclusive with VSADDITEM_AddNewItems). 
VSADDITEM_AddNewItemsUses the Add New Item dialog box (mutually exclusive with VSADDITEM_AddExistingItems). 
VSADDITEM_AllowHiddenTreeViewAllows tree view to be hidden if only one template node is present. 
VSADDITEM_AllowMultiSelectAllows multiple selections in the existing tab. This flag is included for future expansion and not yet implemented.  
VSADDITEM_AllowOnlyFileSysLocsAllows only local file system locations in the Add Existing Item dialog.  
VSADDITEM_AllowSingleTreeRootAllows the tree view to have only one root node (default is to use subnodes). 
VSADDITEM_AllowStickyFilterAllows pbstrFilter[out] parameter to be returned. 
VSADDITEM_ExpandSingleTreeRootAsks the tree view to expand a single root node (default is to not expand it). 
VSADDITEM_HideNameFieldDisables the item name field. 
VSADDITEM_NewDirectoryForItemItem is placed in new directory (location field tracks name field). 
VSADDITEM_NoOpenButtonDropDownDoesn't show drop-down menu under Open button on dialog box. 
VSADDITEM_ProjectHandlesLinksProject adds items as links—enables Link menu item. 
VSADDITEM_ShowDontShowAgainShows the Don't show again check box. 
VSADDITEM_ShowLocationFieldShows the location field. 
VSADDITEM_ShowProjectTypesOnlyShows only project types in the dialog box; does not show items associated with projects. 
VSADDITEM_SuggestTemplateNameSuggests template name for item. 

COM Signature

From vsshell.idl: