Promotic
WikipediaLinkedInYoutubeTwitterFacebook

mapGetPropNames - method of object PmMap

Description:
Returns array containing names of all dynamic properties.
Syntax:
mapGetPropNames As PmArray
Calling:
aProps = oMap.mapGetPropNames();
Note:
The method can also be called in the graphic item events for Web Panels. It is not functional in InternetExplorer8 and lower.
 
The method always returns 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.
Example:
Example for JavaScript language:
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"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice