This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainBlockCursor Interface > ITerrainBlockCursor.BlockCount Property (ArcObjects .NET 10.4 SDK) |
The number of blocks in the cursor.
[Visual Basic .NET] Public ReadOnly Property BlockCount As Integer
[C#] public int BlockCount {get;}
[C++]
HRESULT get_BlockCount(
long* pcBlocks
);
[C++]
Parameters pcBlocks [out, retval] pcBlocks is a parameter of type long
The total number of blocks in the cursor. While this value is generally reliable it's possible for it to change in the event an overload condition is discovered for a block and it needs to be subdivided into multiple blocks. Therefore, it may be need to be checked each successive call to Next or NextAsTin if it's being used to track progress.