Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IVsToolboxDataProvider
Dim pfetc As FORMATETC()
Dim pstm As STGMEDIUM()
Dim returnValue As Integer
returnValue = instance.IsDataSupported(pfetc, _
pstm)
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.
See Also
Reference
IVsToolboxDataProvider Interface