次の方法で共有


IVsTaskItem.put_Checked(Int32) Method

Definition

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.

Applies to