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。 如果这不 IKeyProcessorProvider 想参与当前上下文,则该值可能为 null。

适用于