Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetProp - method of object PmiItem

Description:
Reading the value from any property of the object defined by its name.
Syntax:
GetProp(sProp As String) As Variant
Calling:
value = oItem.GetProp(sProp)
Parameters:
sProp(String) The name of the property (case sensitive text).
Return Values:
Returns value of the property. If an error occures, it returns the Empty value.
See also:
Example:
Read the value from X property:
JavaScriptVBScriptSelect and copy to clipboard

var oItem = pMe.Items("/Panel0");
var x = oItem.GetProp("X");
PROMOTIC 8.3.23 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