共用方式為


IVsReadOnlyViewNotification Interface

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

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
<GuidAttribute("FC62B6C7-6E71-44C6-8DD8-016FD5952612")> _
<InterfaceTypeAttribute()> _
Public Interface IVsReadOnlyViewNotification
[GuidAttribute("FC62B6C7-6E71-44C6-8DD8-016FD5952612")]
[InterfaceTypeAttribute()]
public interface IVsReadOnlyViewNotification
[GuidAttribute(L"FC62B6C7-6E71-44C6-8DD8-016FD5952612")]
[InterfaceTypeAttribute()]
public interface class IVsReadOnlyViewNotification
[<GuidAttribute("FC62B6C7-6E71-44C6-8DD8-016FD5952612")>]
[<InterfaceTypeAttribute()>]
type IVsReadOnlyViewNotification =  interface end
public interface IVsReadOnlyViewNotification

The IVsReadOnlyViewNotification type exposes the following members.

Methods

  Name Description
Public method OnDisabledEditingCommand Notifies that the view is read-only and editing commands are disabled.

Top

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace