Condividi tramite


IMouseProcessorProvider.GetAssociatedProcessor(IWpfTextView) Method

Definition

Creates an IMouseProcessor for a IWpfTextView.

public:
 Microsoft::VisualStudio::Text::Editor::IMouseProcessor ^ GetAssociatedProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ wpfTextView);
public:
 Microsoft::VisualStudio::Text::Editor::IMouseProcessor ^ GetAssociatedProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ wpfTextView);
Microsoft::VisualStudio::Text::Editor::IMouseProcessor GetAssociatedProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextView const & wpfTextView);
public Microsoft.VisualStudio.Text.Editor.IMouseProcessor GetAssociatedProcessor (Microsoft.VisualStudio.Text.Editor.IWpfTextView wpfTextView);
abstract member GetAssociatedProcessor : Microsoft.VisualStudio.Text.Editor.IWpfTextView -> Microsoft.VisualStudio.Text.Editor.IMouseProcessor
Public Function GetAssociatedProcessor (wpfTextView As IWpfTextView) As IMouseProcessor

Parameters

wpfTextView
IWpfTextView

The IWpfTextView for which to create the IMouseProcessor.

Returns

The created IMouseProcessor. The value may be null if this IMouseProcessorProvider does not wish to participate in the current context.

Applies to