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


ISMDirections.Item Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ISMDirections.Item Property

A reference to a direction item by its position.

[Visual Basic .NET]
Public Function get_Item ( _
    ByVal Position As Integer _
) As SMDirItem
[C#]
public SMDirItem get_Item (
    int Position
);
[C++]
HRESULT get_Item(
  long Position,
  ISMDirItem** pVal
);
[C++]

Parameters Position [in] Position is a parameter of type long pVal [out, retval]
pVal is a parameter of type ISMDirItem

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Retrieves the direction item by its position.

See Also

ISMDirections Interface

.NET Samples

StreetMap routing (Code Files: DirectionsForm RoutingForm)