共用方式為


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Function get_Checked ( _
    <OutAttribute> ByRef f As Integer _
) As Integer Implements IVsTaskItem.get_Checked
int IVsTaskItem.get_Checked(
    out int f
)

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

Microsoft.VisualStudio.Shell Namespace