共用方式為


WorkItem.SetDirty Method

Temporarily overrides the dirty state of a work item. Any modification to the work item will cause this to be reset to the correct value, depending on the work item's modification state.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Sub SetDirty ( _
    isDirty As Boolean _
)
public void SetDirty(
    bool isDirty
)
public:
void SetDirty(
    bool isDirty
)
member SetDirty : 
        isDirty:bool -> unit
public function SetDirty(
    isDirty : boolean
)

Parameters

.NET Framework Security

See Also

Reference

WorkItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace