Freigeben über


IVsRunningDocumentTable4.UpdateReadOnlyState(UInt32) Method

Definition

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.

Applies to