在给定 IWpfTextViewHost 和 ITextBuffer 时,为标志符号边距创建 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
参数
wpfTextViewHost
类型:Microsoft.VisualStudio.Text.Editor.IWpfTextViewHost与标志符号边距相关联的 IWpfTextViewHost。
返回值
类型:Microsoft.VisualStudio.Text.Editor.IMouseProcessor
标志符号边距的 IMouseProcessor。,如果此 IGlyphMouseProcessorProvider 不参与,则该值可能为 nullnull 引用(在 Visual Basic 中为 Nothing) 。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。