共用方式為


IVsToolbox6.AddItemToDesigner(IDataObject) Method

Definition

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

public:
 void AddItemToDesigner(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pItem);
public:
 void AddItemToDesigner(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pItem);
void AddItemToDesigner(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pItem);
public void AddItemToDesigner (Microsoft.VisualStudio.OLE.Interop.IDataObject pItem);
abstract member AddItemToDesigner : Microsoft.VisualStudio.OLE.Interop.IDataObject -> unit
Public Sub AddItemToDesigner (pItem As IDataObject)

Parameters

pItem
IDataObject

[in] The item to be added to the active designer.

Applies to