BlockType Property
The type of block.
Object Oriented Interface
public function getBlockType($blockindex); public function setBlockType($blockindex, $value);
Procedural Interface
ipworkscloud_azureblob_get($res, 33 , $blockindex); ipworkscloud_azureblob_set($res, 33, $value , $blockindex);
Default Value
0
Remarks
The type of block.
When populated by ListBlocks, this property reflects the block's type (one of the first two values listed below). When used during a PutBlockList operation, this property specifies which block list the server should search for the block Id specified by BlockId.
Possible values are:
Value | Meaning During PutBlockList 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 $blockindex parameter specifies the index of the item in the array. The size of the array is controlled by the BlockCount property.
This property is not available at design time.
Data Type
Integer