IVsTaskItem2::get_Checked Method (Int32)
Visual Studio 2015
Determines whether the task item's check box is currently selected or cleared.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfChecked
-
Type:
System::Int32
[out, retval] If true, then the check box for the task item is selected. If false, then the check box is cleared.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskItem::get_Checked(Int32)From vsshell.idl:
HRESULT IVsTaskItem2::get_Checked( [out,retval]BOOL *pfChecked );
If pfChecked returns as true, the text in the task list is grey, indicating the task has been completed. If pfChecked returns as false the task list text is not grey and indicates the task has not been completed.
Show: