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
public string get_String (
    int Index
HRESULT get_String(
  long Index,
  BSTR* directionString


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.


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