Partager via


IMouseProcessorProvider.GetAssociatedProcessor Method

Creates an IMouseProcessor for a IWpfTextView.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.IMouseProcessor
The created IMouseProcessor. The value may be null if this IMouseProcessorProvider does not wish to participate in the current context.

.NET Framework Security

See Also

Reference

IMouseProcessorProvider Interface

Microsoft.VisualStudio.Text.Editor Namespace