This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INACompactStreetDirection2 Interface > INACompactStreetDirection2.String Property (ArcObjects .NET 10.5 SDK) |
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
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.