Freigeben über


Task.CanDelete Property

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

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

'Declaration
Public Property CanDelete As Boolean
    Get
    Set
'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);
}
member CanDelete : bool with get, set
function get CanDelete () : boolean
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