Export (0) Print
Expand All

SmartTag Class

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

Object
  Microsoft.VisualStudio.Language.Intellisense.SmartTag

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

public class SmartTag : ITag

The SmartTag type exposes the following members.

  NameDescription
Public methodSmartTagInitializes a new instance of SmartTag.
Top

  NameDescription
Public propertyActionSetsThe set of actions that should be a part of the smart tag session.
Public propertySmartTagTypeThe type of smart tag session that should be created.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.
Show:
© 2015 Microsoft