Compartilhar via


VSADDITEMOPERATION Enum

Definition

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

public enum class VSADDITEMOPERATION
public enum class VSADDITEMOPERATION
enum VSADDITEMOPERATION
public enum VSADDITEMOPERATION
type VSADDITEMOPERATION = 
Public Enum VSADDITEMOPERATION
Inheritance
VSADDITEMOPERATION

Fields

Name Value Description
VSADDITEMOP_OPENFILE 1

The user is adding an existing file.

VSADDITEMOP_CLONEFILE 2

The 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_RUNWIZARD 3

The 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(String, Int32, Object[]) helper method to run a standard .VSZ wizard launch file.

VSADDITEMOP_LINKTOFILE 4

Establishes a link to an existing file.

Remarks

COM Signature

From vsshell.idl:

Applies to