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


INACompactStreetDirection2.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 > INACompactStreetDirection2 Interface > INACompactStreetDirection2.StringCount Property
ArcGIS Developer Help

INACompactStreetDirection2.StringCount Property

The number 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

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

INACompactStreetDirection2 Interface