Simple |
The SimpleVariable type exposes the following members.
| Name | Description | |
|---|---|---|
| Disable | Disables this variable from producing any output. When disabled, the Format method returns an empty string regardless of input values. | |
| Enable | Enables this variable for output (default condition when variable is created). When enabled, the variable resumes normal formatting and output behavior. | |
| Format | Formats the specified numeric value and returns the formatted text string. The formatting applies the Format(Double) rules including decimal precision, sign display, zero padding, and prefix/suffix decoration. | |
| GetCurrent | Returns the formatted text string representation of the most recently formatted value. This allows inspecting the current formatted output without processing a new value. | |
| IsEnable | Gets a value indicating whether the variable is currently enabled for output. | |
| Reset | Forces the output of the formatted text string on the next format call, overriding normal output rules. This ensures the next Format call produces output regardless of enable/disable state. | |
| SetPrefix | Temporarily overrides the prefix text string for subsequent output operations. | |
| SetSuffix | Temporarily overrides the suffix text string for subsequent output operations. |