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
'Dichiarazione
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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.