IGlyphMouseProcessorProvider.GetAssociatedMouseProcessor 方法

在给定 IWpfTextViewHostITextBuffer 时,为标志符号边距创建 IMouseProcessor

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Function GetAssociatedMouseProcessor ( _
    wpfTextViewHost As IWpfTextViewHost, _
    margin As IWpfTextViewMargin _
) As IMouseProcessor
IMouseProcessor GetAssociatedMouseProcessor(
    IWpfTextViewHost wpfTextViewHost,
    IWpfTextViewMargin margin
)
IMouseProcessor^ GetAssociatedMouseProcessor(
    IWpfTextViewHost^ wpfTextViewHost, 
    IWpfTextViewMargin^ margin
)
abstract GetAssociatedMouseProcessor : 
        wpfTextViewHost:IWpfTextViewHost * 
        margin:IWpfTextViewMargin -> IMouseProcessor
function GetAssociatedMouseProcessor(
    wpfTextViewHost : IWpfTextViewHost, 
    margin : IWpfTextViewMargin
) : IMouseProcessor

参数

返回值

类型:Microsoft.VisualStudio.Text.Editor.IMouseProcessor
标志符号边距的 IMouseProcessor。,如果此 IGlyphMouseProcessorProvider 不参与,则该值可能为 nullnull 引用(在 Visual Basic 中为 Nothing) 。

.NET Framework 安全性

请参阅

参考

IGlyphMouseProcessorProvider 接口

Microsoft.VisualStudio.Text.Editor 命名空间