IVsTextViewFilter Interface
Allows further modification of the text view.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<GuidAttribute("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextViewFilter
用法
Dim instance As IVsTextViewFilter
[GuidAttribute("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")]
[InterfaceTypeAttribute()]
public interface IVsTextViewFilter
[GuidAttribute(L"6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")]
[InterfaceTypeAttribute()]
public interface class IVsTextViewFilter
[<GuidAttribute("6B6F0B32-B88B-40F8-A8FE-97438C5BDBEF")>]
[<InterfaceTypeAttribute()>]
type IVsTextViewFilter = interface end
public interface IVsTextViewFilter
Remarks
When you implement IVsTextViewFilter on your object, also provide an IOleCommandTarget interface off of the object. Retrieve IVsTextViewFilter by querying the IOleCommandTarget interface that is passed into the AddCommandFilter method. There should be one IVsTextViewFilter object for each view. The view is implicit when you make calls to this interface.
See illustrations of the implementation and/or calling of this interface in the sample Figures Language Service.
Notes to Implementers
Implement this interface to further customize the core text editor.