Method: IsKindOf for ImplicitChannel
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: IsKindOf for ImplicitChannel
Method: IsKindOf for ImplicitChannel
Checks whether a ImplicitChannel object is a certain type.
iIsKindOf = Object.IsKindOf(Type)
| Object | ImplicitChannel Object with this method | ||||||||
| Type | String Specifies the channel type to be checked.
| ||||||||
| iIsKindOf | LongInteger The value is TRUE if the channel is the specified type. |
The following example checks the type of each channel in the first channel group. The example creates the Offset channel property for implicit channels:
Dim oChn For Each oChn in Root.ChannelGroups(1).Channels If oChn.IsKindOf(eImplicit) Then Call oChn.Properties.Add("Offset",-5) End If Next