IVsTaskItem.CanDelete(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a task item can be deleted.
public:
int CanDelete([Runtime::InteropServices::Out] int % pfCanDelete);
int CanDelete([Runtime::InteropServices::Out] int & pfCanDelete);
public int CanDelete (out int pfCanDelete);
abstract member CanDelete : int -> int
Public Function CanDelete (ByRef pfCanDelete As Integer) As Integer
Parameters
- pfCanDelete
- Int32
[out, retval] If true
, then the task item can be deleted. If false
, then the item cannot be deleted.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTaskItem::CanDelete(
[out, retval]BOOL *pfCanDelete
);