Compartilhar via


__VSADDITEMFLAGS Enum

Definition

Controls the characteristics of items added to a hierarchy.

This enumeration supports a bitwise combination of its member values.

public enum class __VSADDITEMFLAGS
public enum class __VSADDITEMFLAGS
enum __VSADDITEMFLAGS
[System.Flags]
public enum __VSADDITEMFLAGS
[<System.Flags>]
type __VSADDITEMFLAGS = 
Public Enum __VSADDITEMFLAGS
Inheritance
__VSADDITEMFLAGS
Attributes

Fields

Name Value Description
VSADDITEM_AllowMultiSelect 1

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

VSADDITEM_HideNameField 2

Disables the item name field.

VSADDITEM_SuggestTemplateName 8

Suggests template name for item.

VSADDITEM_ShowLocationField 16

Shows the location field.

VSADDITEM_ShowDontShowAgain 64

Shows the Don't show again check box.

VSADDITEM_AllowStickyFilter 128

Allows pbstrFilter[out] parameter to be returned.

VSADDITEM_AddNewItems 256

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

VSADDITEM_AddExistingItems 512

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

32768

Project adds items as links—enables Link menu item.

VSADDITEM_NewDirectoryForItem 65536

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

VSADDITEM_AllowHiddenTreeView 131072

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

VSADDITEM_NoOpenButtonDropDown 524288

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

VSADDITEM_AllowSingleTreeRoot 1048576

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

VSADDITEM_ExpandSingleTreeRoot 2097152

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

VSADDITEM_ShowProjectTypesOnly 4194304

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

VSADDITEM_AllowOnlyFileSysLocs 8388608

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

Remarks

COM Signature

From vsshell.idl:

Applies to