Share via


Task.CanDelete Property

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

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

Syntax

'Declaration
Public Property CanDelete As Boolean
'Usage
Dim instance As Task 
Dim value As Boolean 

value = instance.CanDelete

instance.CanDelete = value
public bool CanDelete { get; set; }
public:
property bool CanDelete {
    bool get ();
    void set (bool value);
}
public function get CanDelete () : boolean 
public function set CanDelete (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace