IVsToolbox2.SelectItem(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.
Programmatically selects an item.
public:
int SelectItem(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO);
public:
int SelectItem(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO);
int SelectItem(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDO);
public int SelectItem (Microsoft.VisualStudio.OLE.Interop.IDataObject pDO);
abstract member SelectItem : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Function SelectItem (pDO As IDataObject) As Integer
Parameters
- pDO
- IDataObject
[in] Pointer to a data object identifying the selected item. This value can be null
.
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::SelectItem(
[in]IDataObject* pDO
);
If the pDO
parameter is null
, then the common pointer tool is selected.