ISmartTagSession Interface

 
Note: This API is now obsolete.

Defines a smart tag session, which encapsulates all the information about a particular invocation of the smart tag system.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

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

[ObsoleteAttribute("This API is deprecated in this version of the Visual Studio SDK, and will be retired in a future version. To find out more about the replacement API, Light Bulb, refer to http://go.microsoft.com/fwlink/?LinkId=394601.")]
public interface ISmartTagSession : IIntellisenseSession, IPropertyOwner

NameDescription
System_CAPS_pubpropertyActionSets

Gets the collection of actions that this session displays.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubpropertyApplicableToSpan

Gets or sets the span to which this session is applicable in the text buffer. This is used to position any popups that are rendered by smart tag presenters.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubpropertyIconSource

Gets or sets an icon that can be used in the display of this session.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubpropertyIsDismissed

Determines whether the session is dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyPresenter

Gets the IIntellisensePresenter that is used to render IntelliSense for this session.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyState

Gets or sets the current state of this session.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubpropertyTagSpan

The span over which the tag should be rendered.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubpropertyTagText

Gets or sets the text to be displayed with the tag.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubpropertyTextView

Gets the ITextView in which this IntelliSense session was triggered.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyType

The type of this smart tag session.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

NameDescription
System_CAPS_pubmethodCollapse()

Reduces the session to a minimized state. If the session has no such state, the session will be dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodDismiss()

Dismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodGetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodGetTriggerPoint(ITextSnapshot)

Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodMatch()

Determines the best matching item in the session and sets the selection to this item.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodRecalculate()

Recalculates the underlying IntelliSense items pertaining to this session, using the same trigger point.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodStart()

Starts the session.(Inherited from IIntellisenseSession.)

NameDescription
System_CAPS_pubeventApplicableToSpanChanged

Occurs when the ApplicableToSpan property changes.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubeventDismissed

Occurs when the session is dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventIconSourceChanged

Occurs when the session's icon changes.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubeventPresenterChanged

Occurs when the IntelliSense presenter for this session changes.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventRecalculated

Occurs when the session is recalculated.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventStateChanged

Occurs when the state of this session changes.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

System_CAPS_pubeventTagSpanChanged

Occurs when the TagSpan property changes.

Smart tags are deprecated in favor of light bulbs. See ILightBulbSession for a replacement.

For an example of the use of this interface, see Walkthrough: Displaying Light Bulb Suggestions.

Return to top
Show: