Partager via


IKeyProcessorProvider.GetAssociatedProcessor Method

Creates a KeyProcessor for a given IWpfTextView.

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

Syntax

'Déclaration
Function GetAssociatedProcessor ( _
    wpfTextView As IWpfTextView _
) As KeyProcessor
KeyProcessor GetAssociatedProcessor(
    IWpfTextView wpfTextView
)
KeyProcessor^ GetAssociatedProcessor(
    IWpfTextView^ wpfTextView
)
abstract GetAssociatedProcessor : 
        wpfTextView:IWpfTextView -> KeyProcessor 
function GetAssociatedProcessor(
    wpfTextView : IWpfTextView
) : KeyProcessor

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.KeyProcessor
The created KeyProcessor. The value may be nulla null reference (Nothing in Visual Basic) if this IKeyProcessorProvider does not wish to participate in the current context.

.NET Framework Security

See Also

Reference

IKeyProcessorProvider Interface

Microsoft.VisualStudio.Text.Editor Namespace