Compartir a través de


Task.IVsTaskItem.put_Checked Method

Sets whether a task item's check box is 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

'Declaración
Private Function put_Checked ( _
    f As Integer _
) As Integer Implements IVsTaskItem.put_Checked
'Uso
Dim instance As Task
Dim f As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).put_Checked(f)
int IVsTaskItem.put_Checked(
    int f
)
private:
virtual int put_Checked(
    int f
) sealed = IVsTaskItem::put_Checked
private abstract put_Checked : 
        f:int -> int 
private override put_Checked : 
        f:int -> int 
JScript does not support explicit interface implementations.

Parameters

  • f
    Type: System.Int32
    true if the check box is selected, false if it is cleared.

Return Value

Type: System.Int32
S_OK().

Implements

IVsTaskItem.put_Checked(Int32)

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace