Partager via


DocumentTask.GetTipText Method

Gets the tip text for the text marker that is displayed when the mouse hovers over the marker.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Overridable Function GetTipText ( _
    marker As IVsTextMarker, _
    tipText As String() _
) As Integer
public virtual int GetTipText(
    IVsTextMarker marker,
    string[] tipText
)
public:
virtual int GetTipText(
    IVsTextMarker^ marker, 
    array<String^>^ tipText
)
abstract GetTipText : 
        marker:IVsTextMarker * 
        tipText:string[] -> int  
override GetTipText : 
        marker:IVsTextMarker * 
        tipText:string[] -> int
public function GetTipText(
    marker : IVsTextMarker, 
    tipText : String[]
) : int

Parameters

  • tipText
    Type: array<String[]

    The text to display.

Return Value

Type: Int32
The text of this task.

Implements

IVsTextMarkerClient.GetTipText(IVsTextMarker, array<String[])

Remarks

This method sets tipText to the text of this task. It is an implementation of GetTipText.

.NET Framework Security

See Also

Reference

DocumentTask Class

Microsoft.VisualStudio.Package Namespace