共用方式為


IDropHandlerProvider.GetAssociatedDropHandler 方法

為指定的 IWpfTextView 取得 IDropHandler

命名空間:  Microsoft.VisualStudio.Text.Editor.DragDrop
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Function GetAssociatedDropHandler ( _
    wpfTextView As IWpfTextView _
) As IDropHandler
IDropHandler GetAssociatedDropHandler(
    IWpfTextView wpfTextView
)
IDropHandler^ GetAssociatedDropHandler(
    IWpfTextView^ wpfTextView
)
abstract GetAssociatedDropHandler : 
        wpfTextView:IWpfTextView -> IDropHandler
function GetAssociatedDropHandler(
    wpfTextView : IWpfTextView
) : IDropHandler

參數

傳回值

類型:Microsoft.VisualStudio.Text.Editor.DragDrop.IDropHandler
IDropHandler

備註

這個方法應該會返回非-nullnull 參考 (即 Visual Basic 中的 Nothing)的值。

.NET Framework 安全性

請參閱

參考

IDropHandlerProvider 介面

Microsoft.VisualStudio.Text.Editor.DragDrop 命名空間