This document is archived and information here might be outdated.  Recommended version.


ITerrainBlockCursor.BlockCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainBlockCursor.BlockCount Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ITerrainBlockCursor Interface