Поделиться через


IVsToolboxDataProvider.IsDataSupported Method

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)

Syntax

'Declaration
Function IsDataSupported ( _
    pfetc As FORMATETC(), _
    pstm As STGMEDIUM() _
) As Integer
int IsDataSupported(
    FORMATETC[] pfetc,
    STGMEDIUM[] pstm
)
int IsDataSupported(
    [InAttribute] array<FORMATETC>^ pfetc, 
    [InAttribute] array<STGMEDIUM>^ pstm
)
abstract IsDataSupported : 
        pfetc:FORMATETC[] * 
        pstm:STGMEDIUM[] -> int 
function IsDataSupported(
    pfetc : FORMATETC[], 
    pstm : STGMEDIUM[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolboxDataProvider::IsDataSupported(
   [in]FORMATETC* pfetc,
   [in]STGMEDIUM* pstm
);

.NET Framework Security

See Also

Reference

IVsToolboxDataProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace