IVsToolbox6.AddItemToDesigner Method

Adds the specified item to the active designer as if it was double-clicked in the toolbox.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Sub AddItemToDesigner ( _
    pItem As IDataObject _
)
void AddItemToDesigner(
    IDataObject pItem
)
void AddItemToDesigner(
    [InAttribute] IDataObject^ pItem
)
abstract AddItemToDesigner : 
        pItem:IDataObject -> unit
function AddItemToDesigner(
    pItem : IDataObject
)

Parameters

.NET Framework Security

See Also

Reference

IVsToolbox6 Interface

Microsoft.VisualStudio.Shell.Interop Namespace