IVsRunningDocumentTable4.UpdateDirtyState Method
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)
Syntax
'Declaration
Sub UpdateDirtyState ( _
cookie As UInteger _
)
void UpdateDirtyState(
uint cookie
)
void UpdateDirtyState(
[InAttribute] unsigned int cookie
)
abstract UpdateDirtyState :
cookie:uint32 -> unit
function UpdateDirtyState(
cookie : uint
)
Parameters
cookie
Type: 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.