__VSADDITEMFLAGS Enumeration
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
'宣言
<FlagsAttribute> _
Public Enumeration __VSADDITEMFLAGS
'使用
Dim instance As __VSADDITEMFLAGS
[FlagsAttribute]
public enum __VSADDITEMFLAGS
[FlagsAttribute]
public enum class __VSADDITEMFLAGS
public enum __VSADDITEMFLAGS
Members
Member name | Description | |
---|---|---|
VSADDITEM_AllowMultiSelect | Allows multiple selections in the existing tab. This flag is included for future expansion and not yet implemented. | |
VSADDITEM_HideNameField | Disables the item name field. | |
VSADDITEM_SuggestTemplateName | Suggests template name for item. | |
VSADDITEM_ShowLocationField | Shows the location field. | |
VSADDITEM_ShowDontShowAgain | Shows the Don't show again check box. | |
VSADDITEM_AllowStickyFilter | Allows pbstrFilter[out] parameter to be returned. | |
VSADDITEM_AddNewItems | Uses the Add New Item dialog box (mutually exclusive with VSADDITEM_AddExistingItems). | |
VSADDITEM_AddExistingItems | Uses the Add Existing Item dialog box (mutually exclusive with VSADDITEM_AddNewItems). | |
VSADDITEM_ProjectHandlesLinks | Project adds items as links—enables Link menu item. | |
VSADDITEM_NewDirectoryForItem | Item is placed in new directory (location field tracks name field). | |
VSADDITEM_AllowHiddenTreeView | Allows tree view to be hidden if only one template node is present. | |
VSADDITEM_NoOpenButtonDropDown | Doesn't show drop-down menu under Open button on dialog box. | |
VSADDITEM_AllowSingleTreeRoot | Allows the tree view to have only one root node (default is to use subnodes). | |
VSADDITEM_ExpandSingleTreeRoot | Asks the tree view to expand a single root node (default is to not expand it). | |
VSADDITEM_ShowProjectTypesOnly | Shows only project types in the dialog box; does not show items associated with projects. | |
VSADDITEM_AllowOnlyFileSysLocs | Allows only local file system locations in the Add Existing Item dialog. |
Remarks
COM Signature
From vsshell.idl: