共用方式為


IMouseProcessorProvider.GetAssociatedProcessor 方法

建立 IWpfTextViewIMouseProcessor

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Function GetAssociatedProcessor ( _
    wpfTextView As IWpfTextView _
) As IMouseProcessor
IMouseProcessor GetAssociatedProcessor(
    IWpfTextView wpfTextView
)
IMouseProcessor^ GetAssociatedProcessor(
    IWpfTextView^ wpfTextView
)
abstract GetAssociatedProcessor : 
        wpfTextView:IWpfTextView -> IMouseProcessor
function GetAssociatedProcessor(
    wpfTextView : IWpfTextView
) : IMouseProcessor

參數

傳回值

類型:Microsoft.VisualStudio.Text.Editor.IMouseProcessor
建立的 IMouseProcessor。如果此 IMouseProcessorProvider 不希望參與目前的內容,此值可能為 null。

.NET Framework 安全性

請參閱

參考

IMouseProcessorProvider 介面

Microsoft.VisualStudio.Text.Editor 命名空間