共用方式為


DocumentTask.GetTipText(IVsTextMarker, String[]) Method

Definition

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

public:
 virtual int GetTipText(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ marker, cli::array <System::String ^> ^ tipText);
public:
 virtual int GetTipText(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ marker, Platform::Array <Platform::String ^> ^ tipText);
 virtual int GetTipText(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker const & marker, std::Array <std::wstring const &> const & tipText);
public virtual int GetTipText (Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker marker, string[] tipText);
abstract member GetTipText : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker * string[] -> int
override this.GetTipText : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker * string[] -> int
Public Overridable Function GetTipText (marker As IVsTextMarker, tipText As String()) As Integer

Parameters

marker
IVsTextMarker

The marker for which to get the text.

tipText
String[]

The text to display.

Returns

The text of this task.

Implements

Remarks

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

Applies to