Compartilhar via


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

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

See Also

Reference

IDropHandlerProvider Interface

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace