OnNextInstrument()
<< Click to Display Table of Contents >> OnNextInstrument() |
The OnNextInstrument() method is called at the beginning of the import process for each file that is being imported. This method is only called after it has determined the file contains a valid instrument.
This method does not return a value.
See example below. The NinjaScript code wizard automatically generates the method syntax for you.
private int currentInstrumentIdx = -1; |