Click or drag to resize

IncrementalVariable Methods

The IncrementalVariable type exposes the following members.

Methods
 NameDescription
Public methodFormat Formats and returns the current incremented value, then advances to the next value for the next call. Each successive call outputs the value increased by the step increment.
Public methodGetCurrent Returns the formatted text string representation of the current value without incrementing. This allows inspecting the current value without advancing the sequence.
Public methodReset Resets the variable to force output on the next format call, overriding normal output rules. This ensures the next format call produces output regardless of value changes or force settings.
Public methodSetPrefix Temporarily overrides the prefix text string for subsequent output operations.
Public methodSetSuffix Temporarily overrides the suffix text string for subsequent output operations.
Top
See Also