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


ITerrainBlockCursor.BlockCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainBlockCursor Interface > ITerrainBlockCursor.BlockCount Property
ArcGIS Developer Help

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(
  System.Int32* 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