IsBlockEnabled Method
- Last UpdatedApr 08, 2026
- 1 minute read
Retrieves whether the given block is enabled or disabled.
[Obsolete("IsBlockEnabled is deprecated. <-- [DECEMBER 2021]")]
public bool IsBlockEnabled(
uint blockID
)
[Obsolete("IsBlockEnabled is deprecated. <-- [DECEMBER 2021]")]
public:
bool IsBlockEnabled(
uint blockID
)
Parameters
- blockID
- The Block ID.
Return Value
true if block is enabled. Otherwise, false.
| Exception | Description |
|---|---|
| System.ArgumentException | Block ID is zero. |