共用方式為


MouseAction.GetTooltipText Method

Gets the tooltip text for an item on the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable Function GetTooltipText ( _
    diagramItem As DiagramItem _
) As String
public virtual string GetTooltipText(
    DiagramItem diagramItem
)
public:
virtual String^ GetTooltipText(
    DiagramItem^ diagramItem
)
abstract GetTooltipText : 
        diagramItem:DiagramItem -> string 
override GetTooltipText : 
        diagramItem:DiagramItem -> string 
public function GetTooltipText(
    diagramItem : DiagramItem
) : String

Parameters

Return Value

Type: System.String
The tooltip text for an item on the diagram.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace