IVsRunningDocumentTable4::UpdateReadOnlyState Method (UInt32)
Visual Studio 2015
Updates the document’s read-only state.
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Parameters
- cookie
-
Type:
System::UInt32
[in] The document to check.
This method calls IsDocDataReadOnly for the document, and raises OnAfterAttributeChange(Ex) if the read-only state has changed. This is preferred to calling NotifyDocumentChangedEx directly as the latter may cause extraneous attribute change notifications to be raised.
Show: