Method: Add for Properties <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: Add for Properties <DataPlugin>
Method: Add for Properties <DataPlugin>
Adds an object to the Properties collection and returns a Property object.
Set oProperty = Object.Add(sName, Value)
| Object | Properties <DataPlugin> Object with this method |
| sName | String Specifies the name of the property. |
| Value | Variant Specifies the value of the property. |
| oProperty | Property <DataPlugin> Returned object |
| Note If the specified property exists, the Add method overwrites the value of the property. |
The following example generates the Tester property for the first channel group:
Call Root.ChannelGroups(1).Properties.Add("Tester","B.Counter")