Occurs when the read-only flag for the document changes.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Public Event DocumentReadOnlyChanged As EventHandler
public event EventHandler DocumentReadOnlyChanged
public:
 event EventHandler^ DocumentReadOnlyChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
member DocumentReadOnlyChanged : IEvent<EventHandler,
    EventArgs>
JScript does not support events.
Remarks
For more information about events, see Consuming Events.
.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.