TermScreenedText: String;
TermScreenedText: string;
The TermScreenedText property returns the term name with the escaped characters.
The \ symbol is used for character screening. If the string contains the \ symbol, then the next symbol is recognized as a string.
Executing the example requires the Info term passed as the function input parameter. Add a link to the Ms system assembly.
Sub UserProc(Info: IMsFormulaTermInfo);
Begin
Debug.WriteLine("Term name without escaped characters: " + Info.TermText);
Debug.WriteLine("Term name with escaped characters: " + Info.TermScreenedText);
End Sub UserProc;
After executing the example, the term name is displayed in the console window in the different formats. For example:
Term name without escaped characters: {FC_COMM_26!Af{ghanistan[t]}
Term name with escaped characters: {FC_COMM_26!Af\{ghanistan[t]}
Executing the example requires the Info term passed as the function input parameter.
Imports Prognoz.Platform.Interop.Ms;
…
Public Shared Sub UserProc(Info: IMsFormulaTermInfo);
Begin
System.Diagnostics.Debug.WriteLine("Term name without escaped characters: " + Info.TermText);
System.Diagnostics.Debug.WriteLine("Term name with escaped characters: " + Info.TermScreenedText);
End Sub UserProc;
After executing the example, the term name is displayed in the console window in the different formats. For example:
Term name without escaped characters: {FC_COMM_26!Af{ghanistan[t]}
Term name with escaped characters: {FC_COMM_26!Af\{ghanistan[t]}
See also: