Share via


IPeekableItemSource.AugmentPeekSession Method

Definition

Determines which IPeekableItems should be part of the specified IPeekSession.

public:
 void AugmentPeekSession(Microsoft::VisualStudio::Language::Intellisense::IPeekSession ^ session, System::Collections::Generic::IList<Microsoft::VisualStudio::Language::Intellisense::IPeekableItem ^> ^ peekableItems);
public void AugmentPeekSession (Microsoft.VisualStudio.Language.Intellisense.IPeekSession session, System.Collections.Generic.IList<Microsoft.VisualStudio.Language.Intellisense.IPeekableItem> peekableItems);
abstract member AugmentPeekSession : Microsoft.VisualStudio.Language.Intellisense.IPeekSession * System.Collections.Generic.IList<Microsoft.VisualStudio.Language.Intellisense.IPeekableItem> -> unit
Public Sub AugmentPeekSession (session As IPeekSession, peekableItems As IList(Of IPeekableItem))

Parameters

session
IPeekSession

The session for which to compute IPeekableItems.

peekableItems
IList<IPeekableItem>

The list of IPeekableItems to add to the session.

Remarks

Each applicable IPeekableItemSource instance will be called in order when recalculating an IPeekSession. IPeekableItems can be added to the session by adding them to the peekableItems collection passed in as a parameter. In addition, by removing items from the collection, a source may filter IPeekableItems provided by IPeekableItemSources earlier in the calculation chain.

Applies to