DIAdem Help

Method: Add for Properties <DataPlugin>

  • Updated2024-09-12
  • 1 minute(s) read

Method: Add for Properties <DataPlugin>

Adds an object to the Properties collection and returns a Property object.

Set oProperty = Object.Add(sName, Value)
ObjectProperties <DataPlugin>
Object with this method
sNameString
Specifies the name of the property.
ValueVariant
Specifies the value of the property.
oPropertyProperty <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")