IVsRunningDocumentTable4::UpdateDirtyState Method (UInt32)

 

Updates the status of the dirty state.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

void UpdateDirtyState(
	unsigned int cookie
)

Parameters

cookie
Type: System::UInt32

[in] The document to check.

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.

Return to top
Show: