Partager via


IQuickInfoSource.AugmentQuickInfoSession Method

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)

Syntax

'Declaration
Sub AugmentQuickInfoSession ( _
    session As IQuickInfoSession, _
    quickInfoContent As IList(Of Object), _
    <OutAttribute> ByRef applicableToSpan As ITrackingSpan _
)
void AugmentQuickInfoSession(
    IQuickInfoSession session,
    IList<Object> quickInfoContent,
    out ITrackingSpan applicableToSpan
)
void AugmentQuickInfoSession(
    IQuickInfoSession^ session, 
    IList<Object^>^ quickInfoContent, 
    [OutAttribute] ITrackingSpan^% applicableToSpan
)
abstract AugmentQuickInfoSession : 
        session:IQuickInfoSession * 
        quickInfoContent:IList<Object> * 
        applicableToSpan:ITrackingSpan byref -> unit
function AugmentQuickInfoSession(
    session : IQuickInfoSession, 
    quickInfoContent : IList<Object>, 
    applicableToSpan : ITrackingSpan
)

Parameters

  • quickInfoContent
    Type: IList<Object>

    The QuickInfo content to be added to the session.

Remarks

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.

.NET Framework Security

See Also

Reference

IQuickInfoSource Interface

Microsoft.VisualStudio.Language.Intellisense Namespace