Partager via


Task.Checked Property

Gets or sets whether not the task's check box is currently selected or cleared.

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

'Déclaration
Public Property Checked As Boolean
    Get
    Set
'Utilisation
Dim instance As Task
Dim value As Boolean

value = instance.Checked

instance.Checked = value
public bool Checked { get; set; }
public:
property bool Checked {
    bool get ();
    void set (bool value);
}
member Checked : bool with get, set
function get Checked () : boolean
function set Checked (value : boolean)

Property Value

Type: System.Boolean
true if the task is checked, otherwise false.

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace