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
參數
wpfTextView
類型:Microsoft.VisualStudio.Text.Editor.IWpfTextView要為其取得置放處理常式的文字檢視。
傳回值
類型:Microsoft.VisualStudio.Text.Editor.DragDrop.IDropHandler
IDropHandler 。
備註
這個方法應該會返回非-nullnull 參考 (即 Visual Basic 中的 Nothing)的值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。