IVsRunningDocumentTable4.UpdateReadOnlyState(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the document’s read-only state.
public:
void UpdateReadOnlyState(System::UInt32 cookie);
public:
void UpdateReadOnlyState(unsigned int cookie);
void UpdateReadOnlyState(unsigned int cookie);
public void UpdateReadOnlyState (uint cookie);
abstract member UpdateReadOnlyState : uint32 -> unit
Public Sub UpdateReadOnlyState (cookie As UInteger)
Parameters
- cookie
- UInt32
[in] The document to check.
Implements
Remarks
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.