This documentation is archived and is not being maintained.

IVsToolboxClipboardCycler.AreDataObjectsAvailable Method

Determines whether any items are available to preview in the clipboard ring.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int AreDataObjectsAvailable (
	[InAttribute] IVsToolboxUser pTarget,
	out int pbItemsAvailable
)
int AreDataObjectsAvailable (
	/** @attribute InAttribute() */ IVsToolboxUser pTarget, 
	/** @attribute OutAttribute() */ /** @ref */ int pbItemsAvailable
)
JScript does not support passing value-type arguments by reference.

Parameters

pTarget

[in] Used by the Toolbox to ensure that the next item is supported.

pbItemsAvailable

[out] If true, then items are available to preview. If false, then items are not available.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsToolboxClipboardCycler::AreDataObjectsAvailable(
   [in] IVsToolboxUser *pTarget,
   [out] BOOL *pbItemsAvailable
);
Show: