Rediger

Del via


TabControl.GetToolTipText(Object) Method

Definition

Gets the ToolTip for the specified TabPage.

protected:
 System::String ^ GetToolTipText(System::Object ^ item);
protected string GetToolTipText (object item);
member this.GetToolTipText : obj -> string
Protected Function GetToolTipText (item As Object) As String

Parameters

item
Object

The TabPage that owns the desired ToolTip.

Returns

The ToolTip text.

Exceptions

.NET 5 and later: The item argument is null.

.NET 5 and later: The item argument is not of type TabPage.

Applies to