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
'宣言
Public Overridable Function GetTipText ( _
marker As IVsTextMarker, _
tipText As String() _
) As Integer
public virtual int GetTipText(
IVsTextMarker marker,
string[] tipText
)
Parameters
- marker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
The marker for which to get the text.
- tipText
Type: array<System.String[]
The text to display.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.