Task.IVsTaskItem.CanDelete Method
Gets whether or not it is possible to delete the task.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Private Function CanDelete ( _
<OutAttribute> ByRef fdelete As Integer _
) As Integer Implements IVsTaskItem.CanDelete
'Utilisation
Dim instance As Task
Dim fdelete As Integer
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskItem).CanDelete(fdelete)
int IVsTaskItem.CanDelete(
out int fdelete
)
private:
virtual int CanDelete(
[OutAttribute] int% fdelete
) sealed = IVsTaskItem::CanDelete
private abstract CanDelete :
fdelete:int byref -> int
private override CanDelete :
fdelete:int byref -> int
JScript does not support explicit interface implementations.
Parameters
- fdelete
Type: System.Int32%
[out] Returns true if it is possible to delete the task, otherwise false.
Return Value
Type: System.Int32
S_OK().
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.