HierarchyNode.CanDeleteItem Method

Checks whether the file can be deleted from storage or removed from the project.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Overridable Function CanDeleteItem ( _
    deleteOperation As __VSDELETEITEMOPERATION _
) As Boolean
'使用
Dim deleteOperation As __VSDELETEITEMOPERATION
Dim returnValue As Boolean

returnValue = Me.CanDeleteItem(deleteOperation)
protected virtual bool CanDeleteItem(
    __VSDELETEITEMOPERATION deleteOperation
)
protected:
virtual bool CanDeleteItem(
    __VSDELETEITEMOPERATION deleteOperation
)
protected function CanDeleteItem(
    deleteOperation : __VSDELETEITEMOPERATION
) : boolean

Parameters

Return Value

Type: System.Boolean

Returns CanProjectDeleteItems().

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace