AugmentQuickInfoSession Method
Collapse the table of content
Expand the table of content

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
)

Parameters

session
Type: Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession

The session for which completions are to be computed.

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

The QuickInfo content to be added to the session.

applicableToSpan
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
Show:
© 2016 Microsoft