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


IGPMessages.Count Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessages.Count Property

The message count.

[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.

Remarks

The get_Count property returns the number of GPMessage objects in this collection.

See Also

IGPMessages Interface

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Geoprocessing events listener (Code Files: GPEventHelper)