SmartTag Class

 
Note: This API is now obsolete.

A tag used to contain actions that may be performed on a span of text as part of a smart tag session.

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

System.Object
  Microsoft.VisualStudio.Language.Intellisense.SmartTag

[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 class SmartTag : ITag

NameDescription
System_CAPS_pubmethodSmartTag(SmartTagType, ReadOnlyCollection<SmartTagActionSet>)

Initializes a new instance of SmartTag.

NameDescription
System_CAPS_pubpropertyActionSets

The set of actions that should be a part of the smart tag session.

System_CAPS_pubpropertySmartTagType

The type of smart tag session that should be created.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This tag is consumed by the IntelliSense infrastructure and starts smart tag IntelliSense sessions.

For an example of how to use this class, see Walkthrough: Displaying SmartTags.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: