IQuickInfoSource.AugmentQuickInfoSession Method (IQuickInfoSession, IList<Object>, ITrackingSpan)


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

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

void AugmentQuickInfoSession(
	IQuickInfoSession session,
	IList<object> quickInfoContent,
	out ITrackingSpan applicableToSpan


Type: Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession

The session for which completions are to be computed.

Type: System.Collections.Generic.IList<Object>

The QuickInfo content to be added to the session.

Type: Microsoft.VisualStudio.Text.ITrackingSpan

The ITrackingSpan to which this session applies.

Each applicable AugmentQuickInfoSession 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. In addition, by removing items from the collection, a source may filter content provided by IQuickInfoSource objects earlier in the calculation chain.

Return to top