Open Rails

Simulator.TrainList.GetTrainByNumber Method

[This is preliminary documentation and subject to change.]

Search and return TRAIN by number - any type

public Train GetTrainByNumber(
   int reqNumber
);

See Also

TrainList Class | ORTS Namespace