共用方式為


__VSDELETEITEMOPERATION Enumeration

Specifies how an item is deleted from a hierarchy.

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

Syntax

'宣告
Public Enumeration __VSDELETEITEMOPERATION
'用途
Dim instance As __VSDELETEITEMOPERATION
public enum __VSDELETEITEMOPERATION
public enum class __VSDELETEITEMOPERATION
type __VSDELETEITEMOPERATION
public enum __VSDELETEITEMOPERATION

Members

Member name Description
DELITEMOP_DeleteFromStorage Physically deletes item. This is valid if itemid parameter is set to VSITEMID_ROOT.
DELITEMOP_RemoveFromProject Does not physically delete item. This is invalid if itemid parameter is set to VSITEMID_ROOT.

Remarks

The value of this enumeration determines whether a hierarchy item is removed from the hierarchy or deleted from the project.

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace