Partilhar 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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.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)

Syntax

'Declaração
Public Overridable Function GetTipText ( _
    marker As IVsTextMarker, _
    tipText As String() _
) As Integer
public virtual int GetTipText(
    IVsTextMarker marker,
    string[] tipText
)

Parameters

Return Value

Type: System.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