Partager via


IVsToolboxClipboardCycler.AreDataObjectsAvailable Method

Definition

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

public:
 int AreDataObjectsAvailable(Microsoft::VisualStudio::Shell::Interop::IVsToolboxUser ^ pTarget, [Runtime::InteropServices::Out] int % pbItemsAvailable);
int AreDataObjectsAvailable(Microsoft::VisualStudio::Shell::Interop::IVsToolboxUser const & pTarget, [Runtime::InteropServices::Out] int & pbItemsAvailable);
public int AreDataObjectsAvailable (Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser pTarget, out int pbItemsAvailable);
abstract member AreDataObjectsAvailable : Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser * int -> int
Public Function AreDataObjectsAvailable (pTarget As IVsToolboxUser, ByRef pbItemsAvailable As Integer) As Integer

Parameters

pTarget
IVsToolboxUser

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

pbItemsAvailable
Int32

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to