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


INAStreetDirection.String Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAStreetDirection.String Property

The direction string by its index.

[Visual Basic .NET]
Public Function get_String ( _
    ByVal Index As Integer _
) As String
[C#]
public string get_String (
    int Index
);
[C++]
HRESULT get_String(
  long Index,
  System.String* directionString
);
[C++]

Parameters Index [in]
Index is a parameter of type long directionString [out, retval]
directionString is a parameter of type BSTR*

Product Availability

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

Remarks

String returns the text of the particular direction element.

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