Promotic
Login logon

SaveToString - method of the PmFormat object

Description:
Saving the content of the PmFormat object into a string (KeyVal).
Syntax:
String SaveToString()
Note:
Only keys with values different from the default values are stored. The method allows to recreate the PmFormat object formatting string.
Example:
JavaScriptVBScriptSelect and copy to clipboard

oFmt = Pm.CreatePmFormat("Type:DateTime;Fmt:%4Y.%2d.%2m %2H:%2M:%2S;");
var sVal = oFmt.SaveToString("", 0);   // "Type:DateTime;Fmt:%4Y.%2d.%2m %2H:%2M:%2S;"

History:
Pm9.00.32: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences