Method: IsKindOf for BinaryBlock
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: IsKindOf for BinaryBlock
Method: IsKindOf for BinaryBlock
Checks whether a BinaryBlock object is a certain type.
bIsKindOf = Object.IsKindOf(Type)
Object | BinaryBlock 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