IVsToolbox2::SelectItem Method (IDataObject^)
Visual Studio 2015
Programmatically selects an item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pDO
-
Type:
Microsoft.VisualStudio.OLE.Interop::IDataObject^
[in] Pointer to a data object identifying the selected item. This value can be null.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsToolbox::SelectItem(IDataObject^)From vsshell.idl:
HRESULT IVsToolbox2::SelectItem(
[in]IDataObject* pDO
);
If the pDO parameter is null, then the common pointer tool is selected.
Show: