OnNextDataPoint()
<< Click to Display Table of Contents >> OnNextDataPoint() |
The OnNextDataPoint() method is called for each line of data contained in the file being imported. This method is only called if the import type determines that the file has a valid data point, and will continue to be called until it reaches the end of the file, or until the data point is no longer valid.
This method does not return a value.
See example below. The NinjaScript code wizards automatically generate the method syntax for you.
private StreamReader reader; |