Freigeben über


Task.IVsTaskItem.get_Checked Method

Determines whether the task item'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

'Declaration
Private Function get_Checked ( _
    <OutAttribute> ByRef f As Integer _
) As Integer Implements IVsTaskItem.get_Checked
'Usage
Dim instance As Task
Dim f As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).get_Checked(f)
int IVsTaskItem.get_Checked(
    out int f
)
private:
virtual int get_Checked(
    [OutAttribute] int% f
) sealed = IVsTaskItem::get_Checked
private abstract get_Checked : 
        f:int byref -> int 
private override get_Checked : 
        f:int byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • f
    Type: System.Int32%
    [out] Returns true if the check box is selected, otherwise false.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTaskItem.get_Checked(Int32%)

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace