Method: IsKindOf for FixedWidthBlock
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: IsKindOf for FixedWidthBlock
Method: IsKindOf for FixedWidthBlock
Checks whether a FixedWidthBlock object is a certain type.
bIsKindOf = Object.IsKindOf(Type)
| Object | FixedWidthBlock 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(eFixedWidthBlock) Then oBlock.BlockLength = 20 End If