共用方式為


Task.IVsTaskItem.CanDelete Method

Gets whether or not it is possible to delete the task.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Function CanDelete ( _
    <OutAttribute> ByRef fdelete As Integer _
) As Integer Implements IVsTaskItem.CanDelete
int IVsTaskItem.CanDelete(
    out int fdelete
)

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

IVsTaskItem.CanDelete(Int32%)

.NET Framework Security

See Also

Reference

Task Class

Microsoft.VisualStudio.Shell Namespace