IVsTaskItem2::put_Checked Method (Int32)

 

Sets whether a task item's check box is selected or cleared.

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

int put_Checked(
	int fChecked
)

Parameters

fChecked
Type: System::Int32

[in] If true, then the check box is selected. If false, then the check box is cleared.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsTaskItem2::put_Checked(
   [in] BOOL fChecked
);

Implement this method only if you want the check box to be modifiable by the user.

Return to top
Show: