Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Controls the action performed on a new item added to a project.

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


Member nameDescription
VSADDITEMOP_CLONEFILEThe user is adding a new file based on a template. The name for the new item is specified by pbstrItemName, if required. This operation is allowed to display a UI.
VSADDITEMOP_LINKTOFILEEstablishes a link to an existing file.
VSADDITEMOP_OPENFILEThe user is adding an existing file.

This operation must be silent. It is not allowed to display any messages or dialog boxes. This operation is used by extensibility and other programmatic operations to add items to a project and thus cannot tolerate requiring user interaction.

VSADDITEMOP_RUNWIZARDThe user has selected a .VSZ file. The caller is expected to run a wizard. This operation is allowed (and expected) to display a UI. The caller can use the SID_SVsExtensibility service to call the RunWizardFile helper method to run a standard .VSZ wizard launch file.

COM Signature

From vsshell.idl:

© 2015 Microsoft