IKeyProcessorProvider.GetAssociatedProcessor, méthode
Crée un élément KeyProcessor correspondant à un objet IWpfTextView spécifié.
Espace de noms : Microsoft.VisualStudio.Text.Editor
Assembly : Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntaxe
'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
Paramètres
wpfTextView
Type : Microsoft.VisualStudio.Text.Editor.IWpfTextViewÉlément IWpfTextView pour lequel l'objet KeyProcessor doit être créé.
Valeur de retour
Type : Microsoft.VisualStudio.Text.Editor.KeyProcessor
Élément KeyProcessor créé.La valeur peut être nullune référence null (Nothing en Visual Basic) si cet IKeyProcessorProvider ne souhaite pas participer au contexte actuel.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.