This documentation is archived and is not being maintained.

HierarchyNode.CanDeleteItem Method

Visual Studio 2005

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

This method is not CLS-compliant.  

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

protected virtual bool CanDeleteItem (
	__VSDELETEITEMOPERATION deleteOperation
)
protected boolean CanDeleteItem (
	__VSDELETEITEMOPERATION deleteOperation
)
protected function CanDeleteItem (
	deleteOperation : __VSDELETEITEMOPERATION
) : boolean

Parameters

deleteOperation

The operation to be performed (delete from storage or remove from project).

Return Value

Returns CanProjectDeleteItems.
Show: