Gets the tip text for the text marker that is displayed when the mouse hovers over the marker.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Overridable Function GetTipText ( _
marker As IVsTextMarker, _
tipText As String() _
) As Integer
'使用
Dim instance As DocumentTask
Dim marker As IVsTextMarker
Dim tipText As String()
Dim returnValue As Integer
returnValue = instance.GetTipText(marker, _
tipText)
public virtual int GetTipText(
IVsTextMarker marker,
string[] tipText
)
public:
virtual int GetTipText(
IVsTextMarker^ marker,
array<String^>^ tipText
)
public function GetTipText(
marker : IVsTextMarker,
tipText : String[]
) : int
Parameters
marker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerThe marker for which to get the text.
tipText
Type: []The text to display.
Return Value
Type: System.Int32
The text of this task.
Implements
IVsTextMarkerClient.GetTipText(IVsTextMarker, [])
Remarks
This method sets tipText to the text of this task. It is an implementation of GetTipText.
Permissions
- 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.