SegmentNumber Property
- Last UpdatedNov 06, 2025
- 1 minute read
The SegmentNumber property contains the entity segment number assigned to the entity. This is used when multiple entities exist at the same child order within a line. See this property's Remarks section for additional information.
'Declaration
Public Property SegmentNumber As Nullable(Of Integer)
'Usage
Dim instance As LineEntity
Dim value As Nullable(Of Integer)
instance.SegmentNumber = value
value = instance.SegmentNumber
public Nullable<int> SegmentNumber {get; set;}
This property should be null (the default) if the entity is not part of a line segment; otherwise, it should be the number of the line segment to which the entity belongs, starting at 1.
If this property is 1 for a line class, then when multiple entities identified from this entity class for lines are instantiated from this line class, the entities should by default be placed in separate segments.
It should not be possible to save a line or a line class for which this property is not null for at least two adjacent child_order values (i.e., there should be no segments that are only one position long).