IMouseProcessorProvider.GetAssociatedProcessor 方法
建立 IWpfTextView 的 IMouseProcessor。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
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
參數
wpfTextView
類型:Microsoft.VisualStudio.Text.Editor.IWpfTextView用來建立 IMouseProcessor 的目標 IWpfTextView。
傳回值
類型:Microsoft.VisualStudio.Text.Editor.IMouseProcessor
建立的 IMouseProcessor。如果此 IMouseProcessorProvider 不希望參與目前的內容,此值可能為 null。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。