IVsToolboxDataProvider::IsDataSupported Method (array<FORMATETC>^, array<STGMEDIUM>^)

 

Determines the appropriate clipboard data format for a data object .

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int IsDataSupported(
	array<FORMATETC>^ pfetc,
	array<STGMEDIUM>^ pstm
)

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::Int32

If 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
);
Return to top
Show: