ToolWindowPane.ToolBarDropTarget Property
Gets or sets the toolbar drop target.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Property ToolBarDropTarget As IDropTarget
public IDropTarget ToolBarDropTarget { get; set; }
Property Value
Type: Microsoft.VisualStudio.OLE.Interop.IDropTarget
The drop target, if the window has a toolbar, otherwise nulla null reference (Nothing in Visual Basic).
Remarks
The drop target allows intercepting drag and drop operations on the toolbar.
.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.