Share via


IVsToolboxUser.IsSupported(IDataObject) Method

Definition

Determines whether the Toolbox user supports the referenced data object.

public:
 int IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO);
public:
 int IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO);
int IsSupported(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDO);
public int IsSupported (Microsoft.VisualStudio.OLE.Interop.IDataObject pDO);
abstract member IsSupported : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Function IsSupported (pDO As IDataObject) As Integer

Parameters

pDO
IDataObject

[in] Data object to be supported.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolboxUser::IsSupported(  
   [in]IDataObject* pDO  
);  

The environment calls this method to determine if the Toolbox user supports the referenced data object.

Applies to