HierarchyNode.GetDragTargetHandlerNode Method

Gets the node that should handle drag-and-drop operations.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Friend Overridable Function GetDragTargetHandlerNode As HierarchyNode
'使用
Dim returnValue As HierarchyNode

returnValue = Me.GetDragTargetHandlerNode()
protected internal virtual HierarchyNode GetDragTargetHandlerNode()
protected public:
virtual HierarchyNode^ GetDragTargetHandlerNode()
protected internal function GetDragTargetHandlerNode() : HierarchyNode

Return Value

Type: Microsoft.VisualStudio.Package.HierarchyNode

The node that should handle drag-and-drop operations.

Remarks

This method is called by the drag-and-drop implementation to ask the current node which nodes should process the operation. A folder or project node should handle drag-and-drop itself. A reference node should delegate drag-and-drop to the project. If a node cannot contain other nodes, it should delegate to its parent.

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace