mapGetPropNames - method of object PmMap

Returns array containing names of all dynamic properties.
mapGetPropNames As PmArray
aProps = oMap.mapGetPropNames();
The method can also be called in the graphic item events for Web panels. It is not functional in InternetExplorer8 and lower.
The method returns always 1-dimensional array of the PmArray type, i.e. for the VBScript language, it does not return array of the Array type.
The order of names in the array is random. It is not sorted either alphabeticaly or by the order of creation od dynamic properties.
JavaScriptSelect and copy to clipboard

var oMap = Pm.CreatePmMap();
oMap.Temperature = 85;
oMap.Pressure = 1013.85;
var aNames = oMap.mapGetPropNames();
var sName1 = aNames.GetItem(0);  //contains "Temperature" or "Pressure"
var sName2 = aNames.GetItem(1);  //contains "Temperature" or "Pressure"
PROMOTIC 8.3.26 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice