block_id Property
The Id of the block.
Syntax
def get_block_id(block_index: int) -> str: ... def set_block_id(block_index: int, value: str) -> None: ...
Default Value
""
Remarks
The Id of the block.
This property specifies the Id of the block.
Block Ids must be Base64-encoded when sent to the server. By default, the class will automatically Base64-encode block Ids as they are sent, and Base64-decode them as they are received. This behavior can be configured using the EncodeBlockIds configuration setting.
All block Ids must be less than or equal to 64 bytes in length before being Base64-encoded. Additionally, all blocks Ids within a single block blob must be unique, and of the exact same length after Base64-encoding.
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.