SaveToString - method of the PmFormat object
Description:
Saving the content of the
PmFormat object into a string (
KeyVal).
Syntax:
String SaveToString()
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;"
Set oFmt = Pm.CreatePmFormat("Type:DateTime;Fmt:%4Y.%2d.%2m %2H:%2M:%2S;")
Dim sVal
sVal = oFmt.SaveToString("", 0)
' "Type:DateTime;Fmt:%4Y.%2d.%2m %2H:%2M:%2S;"