Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Controls the characteristics of items added to a hierarchy.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration __VSADDITEMFLAGS
[FlagsAttribute]
public enum __VSADDITEMFLAGS
[FlagsAttribute]
public enum class __VSADDITEMFLAGS
[<FlagsAttribute>]
type __VSADDITEMFLAGS
public enum __VSADDITEMFLAGS
Members
| Member name | Description | |
|---|---|---|
| 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. |
Remarks
COM Signature
From vsshell.idl: