Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolboxDataProvider::IsDataSupported(
[in]FORMATETC* pfetc,
[in]STGMEDIUM* pstm
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.