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


INAODCostMatrix.OriginCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAODCostMatrix Interface > INAODCostMatrix.OriginCount Property
ArcGIS Developer Help

INAODCostMatrix.OriginCount Property

The number of origin locations.

[Visual Basic .NET]
Public ReadOnly Property OriginCount As Integer
[C#]
public int OriginCount {get;}
[C++]
HRESULT get_OriginCount(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

Returns the number of origin locations associated with the matrix object.

See Also

INAODCostMatrix Interface