共用方式為


Task.IVsTaskItem.get_Checked Method

Determines whether the task item's check box is currently selected or cleared.

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

Syntax

'Declaration
Private Function get_Checked ( _
    <OutAttribute> ByRef f As Integer _
) As Integer Implements IVsTaskItem.get_Checked
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: Int32%

    [out] Returns true if the check box is selected, otherwise false.

Return Value

Type: 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

Microsoft.VisualStudio.Shell Namespace