Partilhar via


IQuickInfoSource.AugmentQuickInfoSession Method

Definition

Determines which pieces of QuickInfo content should be part of the specified IQuickInfoSession.

public:
 void AugmentQuickInfoSession(Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ session, System::Collections::Generic::IList<System::Object ^> ^ quickInfoContent, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::ITrackingSpan ^ % applicableToSpan);
public void AugmentQuickInfoSession (Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession session, System.Collections.Generic.IList<object> quickInfoContent, out Microsoft.VisualStudio.Text.ITrackingSpan applicableToSpan);
abstract member AugmentQuickInfoSession : Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession * System.Collections.Generic.IList<obj> * ITrackingSpan -> unit
Public Sub AugmentQuickInfoSession (session As IQuickInfoSession, quickInfoContent As IList(Of Object), ByRef applicableToSpan As ITrackingSpan)

Parameters

session
IQuickInfoSession

The session for which completions are to be computed.

quickInfoContent
IList<Object>

The QuickInfo content to be added to the session.

applicableToSpan
ITrackingSpan

The ITrackingSpan to which this session applies.

Remarks

Each applicable AugmentQuickInfoSession(IQuickInfoSession, IList<Object>, ITrackingSpan) instance will be called in-order to (re)calculate a IQuickInfoSession. Objects can be added to the session by adding them to the quickInfoContent collection passed-in as a parameter. In addition, by removing items from the collection, a source may filter content provided by IQuickInfoSources earlier in the calculation chain.

Applies to