DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Method: IsKindOf for BinaryChannelFormatter

Method: IsKindOf for BinaryChannelFormatter

Checks whether the BinaryChannelFormatter object is a certain type.

The BinaryChannelFormatter object contains information about how the values of a channel are represented in the binary file. The channel always belongs to a BinaryBlock.

bIsKindOf = Object.IsKindOf(Type)
ObjectBinaryChannelFormatter
Object with this method
TypeSpecifies the block type to be checked.
Enumeration with the following selection terms:
0eBinaryBlockBinaryBlock type block
1eStringBlockStringBlock type block
2eFixedWidthBlockFixedWidthBlock type block
3eCellBlockCellBlock type block
bIsKindOfBoolean
The value is TRUE if the channel is part of the specified block type.

The following example checks each channel whether this channel has a BinaryBlock and creates the channel property DataType:

Dim oMyChn
For Each oMyChn in oBlock.Channels
  If (oMyChn.Formatter.IsKindOf(eBinaryBlock)) Then
    Call oMyChn.Properties.Add("DataType", oMyChn.Formatter.DataType)
  End If
Next
In This Section
Was this information helpful?