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
- wpfTextView
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextView
The IWpfTextView for which to create the KeyProcessor.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.