Method: IsKindOf for StringBlock
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: IsKindOf for StringBlock
Method: IsKindOf for StringBlock
Checks whether a StringBlock object is a certain type.
bIsKindOf = Object.IsKindOf(Type)
| Object | StringBlock Object with this method | ||||||||
| Type | Specifies the block type to be checked. Enumeration with the following selection terms:
|
||||||||
| bIsKindOf | Boolean The value is TRUE if the block is the specified type. |
The following example checks the block type and sets the block length according to this block type:
If oBlock.IsKindOf(eBinaryBlock) Then oBlock.BlockLength = -1 ElseIf oBlock.IsKindOf(eStringBlock) Then oBlock.BlockLength = 20 End If