Skip to content

AspTab.Id

property · AspTab · cAlgo.API

DesktopCLICloud

Returns unique ID of the current tab.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

string Id {get;}
aspTab.Id: str

Returns string

Examples

var tab = Asp.AddTab("My Tab");
Print("Tab ID: {0}", tab.Id);
tab = api.Asp.AddTab("My Tab")
api.Print(f"Tab ID: {tab.Id}")