IVsToolboxDataProvider::IsDataSupported Method (array<FORMATETC>^, array<STGMEDIUM>^)
Visual Studio 2015
Determines the appropriate clipboard data format for a data object .
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfetc
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::FORMATETC>^
[in] Generalized clipboard format. For more information, see the FORMATETC structure in the MSDN Library.
- pstm
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::STGMEDIUM>^
[in] Generalized global memory handle used for data transfer operations by IDataObject. For more information, see STGMEDIUM in the MSDN Library.
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::IsDataSupported( [in]FORMATETC* pfetc, [in]STGMEDIUM* pstm );
Show: