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)

Syntax

声明
Function AreDataObjectsAvailable ( _
    pTarget As IVsToolboxUser, _
    <OutAttribute> ByRef pbItemsAvailable As Integer _
) As Integer
用法
Dim instance As IVsToolboxClipboardCycler
Dim pTarget As IVsToolboxUser
Dim pbItemsAvailable As Integer
Dim returnValue As Integer

returnValue = instance.AreDataObjectsAvailable(pTarget, _
    pbItemsAvailable)
int AreDataObjectsAvailable(
    IVsToolboxUser pTarget,
    out int pbItemsAvailable
)
int AreDataObjectsAvailable(
    [InAttribute] IVsToolboxUser^ pTarget, 
    [OutAttribute] int% pbItemsAvailable
)
abstract AreDataObjectsAvailable : 
        pTarget:IVsToolboxUser * 
        pbItemsAvailable:int byref -> int 
function AreDataObjectsAvailable(
    pTarget : IVsToolboxUser, 
    pbItemsAvailable : int
) : int

Parameters

  • 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.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsToolboxClipboardCycler Interface

IVsToolboxClipboardCycler Members

Microsoft.VisualStudio.Shell.Interop Namespace