Segment.Caption

From Xojo Documentation

Property (As String )
aSegment.Caption = newStringValue
or
StringValue = aSegment.Caption

New in 2021r3

Supported for all project types and targets.

The caption of the segment.