共用方式為


MouseAction.GetTooltipText(DiagramItem) Method

Definition

Gets tooltip text for specified diagram item if HasTooltip returned true.

public:
 virtual System::String ^ GetTooltipText(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public virtual string GetTooltipText (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
abstract member GetTooltipText : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> string
override this.GetTooltipText : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> string
Public Overridable Function GetTooltipText (diagramItem As DiagramItem) As String

Parameters

diagramItem
DiagramItem

Diagram item to get tooltip for.

Returns

Tooltip text.

Applies to