Property: Values for Property <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Values for Property <DataPlugin>
Property: Values for Property <DataPlugin>
Specifies a vector with values of a property of the Root object, of the ChannelGroup object, of the Channel object, or of the ImplicitChannel object. The size of the vector depends on the Size property.
Object.Values(Index)
| Object | Property <DataPlugin> Object with this property |
| Index | LongInteger Specifies the index of the value. |
| Object.Values | Variant with read and write access |
| Note A property only can have several values when this property belongs to an Element object. |
The following example generates a separate property, for the channel ToChn for each value that the FromChn channel in the vector property VectorProperty contains:
Dim oProp, i Set oProp = FromChn.Properties("VectorProperty") For i = 1 to oProp.Size Call ToChn.Properties.Add("Prop"&i, oProp.Values(i)) Next