IQuickInfoSource.AugmentQuickInfoSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.