IKeyProcessorProvider.GetAssociatedProcessor(IWpfTextView) Метод

Определение

Создает обработчик KeyProcessor для данного 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

Параметры

wpfTextView
IWpfTextView

Объект IWpfTextView, для которого нужно создать модель KeyProcessor.

Возвращаемое значение

KeyProcessor

Созданный KeyProcessor. Значение может быть равно null, если данный поставщик IKeyProcessorProvider не хочет участвовать в текущем контексте.

Применяется к