Property: Properties for Root <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Properties for Root <DataPlugin>
Property: Properties for Root <DataPlugin>
Contains the Properties collection associated with a Root object.
Set oProperties = Object.Properties
| Object | Root <DataPlugin> Object with this property |
| oProperties | Properties <DataPlugin> Returned object |
The following example checks all Root properties and creates the Sensor_Type property if this property does not exist.
Dim oMyProp, bFound For Each oMyProp in Root.Properties If oMyProp.Name = "Sensor_Type" Then bfound = TRUE End If Next If not bFound Then Call Root.Properties.Add("Sensor_type","TC-N") End If