IVsToolbox2.RemoveItem(IDataObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an item from the Toolbox.
public:
int RemoveItem(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO);
public:
int RemoveItem(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO);
int RemoveItem(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDO);
public int RemoveItem (Microsoft.VisualStudio.OLE.Interop.IDataObject pDO);
abstract member RemoveItem : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Function RemoveItem (pDO As IDataObject) As Integer
Parameters
- pDO
- IDataObject
[in] Data object to remove from the Toolbox.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox2::RemoveItem(
[in]IDataObject* pDO
);