block_type Property
The type of block.
Syntax
def get_block_type(block_index: int) -> int: ... def set_block_type(block_index: int, value: int) -> None: ...
Default Value
0
Remarks
The type of block.
When populated by list_blocks, this property reflects the block's type (one of the first two values listed below). When used during a put_block_list operation, this property specifies which block list the server should search for the block Id specified by block_id.
Possible values are:
Value | Meaning During put_block_list Operations |
abktCommitted (0) | Search for a committed block with the specified Id. |
abktUncommitted (1) | Search for an uncommitted block with the specified Id. |
abktLatest (2) | Search for an uncommitted block with the specified Id; and then, if one isn't found, search for a committed block. |
The block_index parameter specifies the index of the item in the array. The size of the array is controlled by the block_count property.