共用方式為


Task.IVsTaskItem.get_Checked(Int32) Method

Definition

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

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Checked([Runtime::InteropServices::Out] int % f) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::get_Checked;
int IVsTaskItem.get_Checked (out int f);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Checked : int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.get_Checked : int -> int
Function get_Checked (ByRef f As Integer) As Integer Implements IVsTaskItem.get_Checked

Parameters

f
Int32

[out] Returns true if the check box is selected, otherwise false.

Returns

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

Implements

Applies to