IMouseProcessorProvider.GetAssociatedProcessor, méthode
Crée un élément IMouseProcessor pour un objet IWpfTextView.
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 IMouseProcessor
IMouseProcessor GetAssociatedProcessor(
IWpfTextView wpfTextView
)
IMouseProcessor^ GetAssociatedProcessor(
IWpfTextView^ wpfTextView
)
abstract GetAssociatedProcessor :
wpfTextView:IWpfTextView -> IMouseProcessor
function GetAssociatedProcessor(
wpfTextView : IWpfTextView
) : IMouseProcessor
Paramètres
wpfTextView
Type : Microsoft.VisualStudio.Text.Editor.IWpfTextViewÉlément IWpfTextView pour lequel l'objet IMouseProcessor doit être créé.
Valeur de retour
Type : Microsoft.VisualStudio.Text.Editor.IMouseProcessor
Élément IMouseProcessor créé.La valeur peut être null si cet élément IMouseProcessorProvider n'est pas inclus dans le 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.