The MsTermTextFormat enumeration is used to determine the format of term name view.
It is used by the following properties:
| Value | Brief description |
| 0 | None. Default value. |
| 1 | Brackets. Term name without brackets. |
| 2 | DataSource. Term name with the data source specification. |
| 4 | Time. Term name with lag specification. |
| 8 | Inversions. Name with term initial transformation and its period specification. |
| 16 | Screened. Term name without information about transformation, lag, data source and with the escaped characters. |
| 32 | NoAttribute. Term name without attributes used in it. |
| 64 | EmptyAsX. Used in the Prognoz Platform kernel, it is not intended to use in the application code. |
| 239 | Pure. Full name of the term without escaped characters. |
| 255 | All. Full name of the term with the escaped characters. |
| 256 | InnerText. Internal variable of the term used in formulas. |
| 512 | AttributeName. The term name must contain the name of the attribute, not its value. |
To apply the several formatting parameters, specify required value of the MsTermTextFormat enumeration values using Or.
The \ symbol is used for character screening.
Term with the following parameters exists:
Initial transformation type is the logarithms difference.
Period when this transformation is executed is the appropriate period of the previous year.
Lag value for the term is two.
Term name that is returned by the IMsFormulaTermInfo.TermText property: {dlogYoY(TEST_COPY1!Afghanistan|BCA[t+2], 3)}.
The given term name is given below after applying this method:
Brackets: Afghanistan|BCA
DataSource: TEST_COPY1!Afghanistan|BCA
Inversions: dlogYoY(TEST_COPY1!Afghanistan|BCA[t+2], 3)
Time: Afghanistan|BCA[t+2]
All: {dlogYoY(TEST_COPY1!Afghanistan|BCA[t+2], 3)}
DataSource Or Time: TEST_COPY1!Afghanistan|BCA[t+2]
Screened. Afghanistan|BCA
Pure. {dlogYoY(TEST_COPY1!Afghanistan|BCA[t+2], 3)}
See also: