ArcObjects Library Reference (System)  

IArray.Count Property

The element count of the array.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
HRESULT get_Count(
  long* Count
);
[C++]

Parameters

Count [out, retval]   Count is a parameter of type long

Product Availability

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

Description

Returns the number of elements in the array.

See Also

IArray Interface

.NET Snippets

Remove Bookmark3D from SceneBookmarks | Navigate Scene to Bookmark3D |

.NET Samples

ArcGIS GPConsole (Code Files: Program) | Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Create a custom raster type (Code Files: TestThumbnailBuilder) | Create a Mosaic dataset (Code Files: CreateMosaicDataset) | Move a graphic along a path in ArcMap (Code Files: AnimationUtils) | Multiple globe viewers (Code Files: MultipleGlobeViewers) | Navigating around the SceneControl (Code Files: SceneNavigateAndBookmarks) | Subset network evaluators (Code Files: SubsetHelper SubsetHelperUI) |

.NET Related Topics

How to geocode a single address | How to open and prepare a raster type | Using ArcObjects as tool input |