Partilhar via


IVsRunningDocumentTable3.UpdateDirtyState(UInt32) Method

Definition

Updates the status of the dirty state.

public:
 void UpdateDirtyState(System::UInt32 cookie);
public:
 void UpdateDirtyState(unsigned int cookie);
void UpdateDirtyState(unsigned int cookie);
public void UpdateDirtyState (uint cookie);
abstract member UpdateDirtyState : uint32 -> unit
Public Sub UpdateDirtyState (cookie As UInteger)

Parameters

cookie
UInt32

[in] The document to check.

Remarks

This method calls IsItemDirty for the document, and raises OnAfterAttributeChange(Ex) if the dirty state has changed. This is preferred to calling NotifyDocumentChangedEx directly as the latter may cause extraneous attribute change notifications to be raised.

Applies to