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
pItem
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject[in] The item to be added to the active designer.
.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.