共用方式為


IVsTaskItem.get_Checked(Int32) Method

Definition

Determines whether the task item's check box is currently selected or cleared.

public:
 int get_Checked([Runtime::InteropServices::Out] int % pfChecked);
public int get_Checked (out int pfChecked);
abstract member get_Checked : int -> int
Public Function get_Checked (ByRef pfChecked As Integer) As Integer

Parameters

pfChecked
Int32

[out, retval] If true, then the check box for the task item 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.

Applies to