TextTipData Class
Provides a default implementation of IVsTextTipData for use in the IVsTextTipWindow for displaying tool tips.
This API is not CLS-compliant. The CLS-compliant alternative is [None].
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.TextTipData
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaración
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class TextTipData _
Implements IVsTextTipData
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public class TextTipData : IVsTextTipData
The TextTipData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TextTipData | This constructor sets a service provider. |
Top
Methods
Name | Description | |
---|---|---|
CheckCaretPosition | Dismisses the tool tip based on mouse proximity to something that has a tool tip. | |
Close | Dismisses and releases the tool tip. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetContextStream | Retrieves the position and length of the tool tip. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetTipFontInfo | Returns the font of the tool tip window. | |
GetTipText | Populates pbstrText with the tip text. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsActive | Tests if the tool tip window is currently visible. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDismiss | Sets the tool tip window to inactive. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update | Adds the supplied data to this text tip. | |
UpdateView | A virtual method that your subclass of TextTipData can implement to provide extra functionality on update. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.