IVsToolboxClipboardCycler::AreDataObjectsAvailable Method (IVsToolboxUser^, Int32)

 

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(
	IVsToolboxUser^ pTarget,
	[OutAttribute] int% pbItemsAvailable
)

Parameters

pTarget
Type: Microsoft.VisualStudio.Shell.Interop::IVsToolboxUser^

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

pbItemsAvailable
Type: System::Int32

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

Return Value

Type: System::Int32

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

From vsshell.idl:

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