IDropHandlerProvider.GetAssociatedDropHandler Method
Gets an IDropHandler for a specified IWpfTextView.
Namespace: Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
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
Parameters
wpfTextView
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextViewThe text view for which to get the drop handler.
Return Value
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.IDropHandler
The IDropHandler.
Remarks
This method is expected to return non-nulla null reference (Nothing in Visual Basic) values.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.