IKeyProcessorProvider, interface

Crée un élément KeyProcessor correspondant à un objet IWpfTextViewHost 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
Public Interface IKeyProcessorProvider
public interface IKeyProcessorProvider
public interface class IKeyProcessorProvider
type IKeyProcessorProvider =  interface end
public interface IKeyProcessorProvider

Le type IKeyProcessorProvider expose les membres suivants.

Méthodes

  Nom Description
Méthode publique GetAssociatedProcessor Crée un élément KeyProcessor correspondant à un objet IWpfTextView spécifié.

Début

Notes

C'est un composant MEF, et doit être exportée avec l'attribut suivant :

[Export(typeof(IKeyProcessorProvider))] 

Les exportateurs doivent fournir OrderAttribute et NameAttribute.

Voir aussi

Référence

Microsoft.VisualStudio.Text.Editor, espace de noms