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,
  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.

See Also

INAStreetDirection Interface

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) |