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
diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe item on the diagram for which to get the tooltip.
Return Value
Type: String
The tooltip text for an item on the diagram.
.NET Framework Security
- 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.