共用方式為


Task.CanDelete Property

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

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

Syntax

'Declaration
Public Property CanDelete As Boolean
public bool CanDelete { get; set; }
public:
property bool CanDelete {
    bool get ();
    void set (bool value);
}
member CanDelete : bool with get, set
function get CanDelete () : boolean 
function set CanDelete (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

Task Class

Microsoft.VisualStudio.Shell Namespace