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


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

INAStreetDirection.StringCount Property

The count of direction strings in this item.

[Visual Basic .NET]
Public ReadOnly Property StringCount As Integer
[C#]
public int StringCount {get;}
[C++]
HRESULT get_StringCount(
  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

StringCount returns the number of direction strings. 

A direction item can be made up of multiple strings of the types delineated by esriDirectionsStringType.  You can access an item's strings by using StringCount to loop over String.

See Also

INAStreetDirection Interface