Method: IsKindOf for ImplicitChannel <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Methods > Method: IsKindOf for ImplicitChannel <Data>
Method: IsKindOf for ImplicitChannel <Data>
Checks the type of an implicit channel in the script interface for internal data.
bIsKindOf = Object.IsKindOf(Type)
Object | ImplicitChannel <Data> Object with this method | ||||||||||||||||||||||||
Type | String Specifies the type of the element to be checked. Enumeration with the following selection terms:
| ||||||||||||||||||||||||
bIsKindOf | Boolean The value is TRUE if the object is the specified type. |
The following example checks whether the first channel of the first channel group is an implicit channel:
VBScript | Python |
Dim oMyChannel Set oMyChannel = Data.Root.ChannelGroups(1).Channels(1) If oMyChannel.IsKindOf(eDataImplicitChannel) Then Call MsgBoxDisp("Implicit Channel") Else Call MsgBoxDisp("No Implicit Channel") End If