IVsTaskItem3.IsDirty(Int32) 方法

定义

确定任务列表项是否已更改。

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

参数

pfDirty
Int32

true 如果任务列表项已更改,则返回; 否则返回 false

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

在调用期间 RefreshTasks ,将重新查询任务项的值,除非此方法返回 FALSE

COM 签名

从 vsshell80:

HRESULT IsDirty([out] BOOL* pfDirty);  

适用于