Bagikan melalui


MouseAction.GetTooltipText Method

Gets the tooltip text for an item on the diagram.

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

Syntax

'Declaration
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: String
The tooltip text for an item on the diagram.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace