共用方式為


IVsReadOnlyViewNotification Interface

Definition

Manages notification of the read-only status of a view.

public interface class IVsReadOnlyViewNotification
public interface class IVsReadOnlyViewNotification
__interface IVsReadOnlyViewNotification
[System.Runtime.InteropServices.Guid("FC62B6C7-6E71-44C6-8DD8-016FD5952612")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsReadOnlyViewNotification
[System.Runtime.InteropServices.Guid("FC62B6C7-6E71-44C6-8DD8-016FD5952612")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsReadOnlyViewNotification
[<System.Runtime.InteropServices.Guid("FC62B6C7-6E71-44C6-8DD8-016FD5952612")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsReadOnlyViewNotification = interface
[<System.Runtime.InteropServices.Guid("FC62B6C7-6E71-44C6-8DD8-016FD5952612")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsReadOnlyViewNotification = interface
Public Interface IVsReadOnlyViewNotification
Attributes

Remarks

This interface is implemented by a language service that puts up UI when editing commands are executed in a read-only view. You can retrieve the interface using QueryInterface from IVsTextViewFilter on the language service’s command filter.

Methods

OnDisabledEditingCommand(Guid, UInt32)

Notifies that the view is read-only and editing commands are disabled.

Applies to