共用方式為


IVsTaskItem3.IsDirty(Int32) Method

Definition

Determines if a task list item has changed.

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

Parameters

pfDirty
Int32

[out] Returns true if the task list item has changed, otherwise false.

Returns

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

Remarks

During a call to RefreshTasks, the task item's values will be re-queried unless this method returns FALSE.

COM Signature

From vsshell80.idl:

HRESULT IsDirty([out] BOOL* pfDirty);  

Applies to