共用方式為


Task.CanDelete Property

Gets or sets whether or not the task can be deleted.

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

Syntax

'宣告
Public Property CanDelete As Boolean
public bool CanDelete { get; set; }

Property Value

Type: System.Boolean
true if the task can be deleted, otherwise false.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.VisualStudio.Shell Namespace