com.esri.arcgis.datasourcesfile
Interface ISMNetAttributesAccess

All Superinterfaces:
Serializable
All Known Implementing Classes:
ISMNetAttributesAccessProxy, SMNetAttributesAccess

public interface ISMNetAttributesAccess
extends Serializable

Provides access to the network attribute value.

Description

Provides information about network attribute values for specified routing data source segment.

Product Availability

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


Method Summary
 Object getNetAttributeValue(String bstrAttrName, int lObjectID)
          Returns the network attribute value by object ID.
 

Method Detail

getNetAttributeValue

Object getNetAttributeValue(String bstrAttrName,
                            int lObjectID)
                            throws IOException,
                                   AutomationException
Returns the network attribute value by object ID.

Description

Returns the network attribute value for the segment ID specified.

Remarks

GetNetAttributeValue returns the values of the predefined network attribute with the name AttrName for the network segment which ID equals ObjectID.


List of supported network attributes may differ from one data set to another. Most used network attributes are "Length" and "Time". Network segments are the records of the map layer that the current routing service is based on. Very often it is a streets layer, and its records are streets segments.

Product Availability

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

Parameters:
bstrAttrName - The bstrAttrName (in)
lObjectID - The lObjectID (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.