IVsToolboxDataProvider::IsSupported Method (IDataObject^)
Visual Studio 2015
Determines whether or not a data object is supported by a data provider and can be added to the Toolbox.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pDO
-
Type:
Microsoft.VisualStudio.OLE.Interop::IDataObject^
[in] Data object to be added to the Toolbox.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsToolboxDataProvider::IsSupported(
[in]IDataObject* pDO
);
The environment calls each registered data provider with IVsToolboxUserDataProvider.IsSupported to determine whether any of the data providers support the new data object. If a data provider supports the data object (that is, returns S_OK), then the data object is added to the Toolbox.
Show: