Open Rails

Simulator.TrainList.GetTrainByName Method

[This is preliminary documentation and subject to change.]

Search and return Train by name - any type

public Train GetTrainByName(
   string reqName
);

See Also

TrainList Class | ORTS Namespace