IVsTaskItem.put_Checked(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether a task item's check box is selected or cleared.
public:
int put_Checked(int fChecked);
public:
int put_Checked(int fChecked);
int put_Checked(int fChecked);
public int put_Checked (int fChecked);
abstract member put_Checked : int -> int
Public Function put_Checked (fChecked As Integer) As Integer
Parameters
- fChecked
- Int32
[in] If true
, then the check box is selected. If false
, then the check box is cleared.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTaskItem::put_Checked(
[in] BOOL fChecked
);
Implement this method only if you want the check box to be modifiable by the user.