IKeyProcessorProvider.GetAssociatedProcessor(IWpfTextView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a KeyProcessor for a given IWpfTextView.
public:
Microsoft::VisualStudio::Text::Editor::KeyProcessor ^ GetAssociatedProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ wpfTextView);
public:
Microsoft::VisualStudio::Text::Editor::KeyProcessor ^ GetAssociatedProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ wpfTextView);
Microsoft::VisualStudio::Text::Editor::KeyProcessor GetAssociatedProcessor(Microsoft::VisualStudio::Text::Editor::IWpfTextView const & wpfTextView);
public Microsoft.VisualStudio.Text.Editor.KeyProcessor GetAssociatedProcessor (Microsoft.VisualStudio.Text.Editor.IWpfTextView wpfTextView);
abstract member GetAssociatedProcessor : Microsoft.VisualStudio.Text.Editor.IWpfTextView -> Microsoft.VisualStudio.Text.Editor.KeyProcessor
Public Function GetAssociatedProcessor (wpfTextView As IWpfTextView) As KeyProcessor
Parameters
- wpfTextView
- IWpfTextView
The IWpfTextView for which to create the KeyProcessor.
Returns
The created KeyProcessor. The value may be null if this IKeyProcessorProvider does not wish to participate in the current context.