IVsToolbox::RemoveItem Method (IDataObject^)

 

Removes an item from the Toolbox.

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

int RemoveItem(
	IDataObject^ pDO
)

Parameters

pDO
Type: Microsoft.VisualStudio.OLE.Interop::IDataObject^

[in] Data object to remove from the Toolbox.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsToolbox::RemoveItem(
   [in]IDataObject* pDO
);
Return to top
Show: