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

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.



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


[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