__VSADDITEMFLAGS Enumeration

 

Controls the characteristics of items added to a hierarchy.

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

[FlagsAttribute]
public enum __VSADDITEMFLAGS

Member nameDescription
VSADDITEM_AddExistingItems

Uses the Add Existing Item dialog box (mutually exclusive with VSADDITEM_AddNewItems).

VSADDITEM_AddNewItems

Uses the Add New Item dialog box (mutually exclusive with VSADDITEM_AddExistingItems).

VSADDITEM_AllowHiddenTreeView

Allows tree view to be hidden if only one template node is present.

VSADDITEM_AllowMultiSelect

Allows multiple selections in the existing tab. This flag is included for future expansion and not yet implemented.

VSADDITEM_AllowOnlyFileSysLocs

Allows only local file system locations in the Add Existing Item dialog.

VSADDITEM_AllowSingleTreeRoot

Allows the tree view to have only one root node (default is to use subnodes).

VSADDITEM_AllowStickyFilter

Allows pbstrFilter[out] parameter to be returned.

VSADDITEM_ExpandSingleTreeRoot

Asks the tree view to expand a single root node (default is to not expand it).

VSADDITEM_HideNameField

Disables the item name field.

VSADDITEM_NewDirectoryForItem

Item is placed in new directory (location field tracks name field).

VSADDITEM_NoOpenButtonDropDown

Doesn't show drop-down menu under Open button on dialog box.

VSADDITEM_ProjectHandlesLinks

Project adds items as links—enables Link menu item.

VSADDITEM_ShowDontShowAgain

Shows the Don't show again check box.

VSADDITEM_ShowLocationField

Shows the location field.

VSADDITEM_ShowProjectTypesOnly

Shows only project types in the dialog box; does not show items associated with projects.

VSADDITEM_SuggestTemplateName

Suggests template name for item.

From vsshell.idl:

Return to top
Show: