IVsTaskItem::CanDelete Method (Int32)
Visual Studio 2015
Determines whether a task item can be deleted.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfCanDelete
-
Type:
System::Int32
[out, retval] If true, then the task item can be deleted. If false, then the item cannot be deleted.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTaskItem::CanDelete( [out, retval]BOOL *pfCanDelete );
Show: