共用方式為


IVsUserContextItemEvents.OnUserContextItemsAvailable Method

Definition

Method to call when there are context-sensitive Help items available.

public:
 int OnUserContextItemsAvailable(Microsoft::VisualStudio::Shell::Interop::IVsUserContextItemCollection ^ pList);
public:
 int OnUserContextItemsAvailable(Microsoft::VisualStudio::Shell::Interop::IVsUserContextItemCollection ^ pList);
int OnUserContextItemsAvailable(Microsoft::VisualStudio::Shell::Interop::IVsUserContextItemCollection const & pList);
public int OnUserContextItemsAvailable (Microsoft.VisualStudio.Shell.Interop.IVsUserContextItemCollection pList);
abstract member OnUserContextItemsAvailable : Microsoft.VisualStudio.Shell.Interop.IVsUserContextItemCollection -> int
Public Function OnUserContextItemsAvailable (pList As IVsUserContextItemCollection) As Integer

Parameters

pList
IVsUserContextItemCollection

[in] Pointer to an IVsUserContextItemCollection interface providing access to a collection of user context items.

Returns

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

Remarks

COM Signature

From context.idl:

HRESULT IVsUserContextItemEvents::OnUserContextItemsAvailable(  
   [in] IVsUserContextItemCollection * pList  
);  

Applies to