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


INACompactStreetDirection2.String Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INACompactStreetDirection2.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,
  BSTR* 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

INACompactStreetDirection2 Interface