This document is archived and information here might be outdated. Recommended version. |
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*
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.