com.esri.arcgis.datasourcesfile
Interface ISMRoadPreferences

All Superinterfaces:
Serializable
All Known Implementing Classes:
ISMRoadPreferencesProxy, SMRoadPreferences

public interface ISMRoadPreferences
extends Serializable

Provides access to preferences for different road types that the router supports.

Description

Provides an interface for setting and retrieving preferences for different road types router supports.

Product Availability

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


Method Summary
 short getItem(int roadType)
          The preference value for the specified road type.
 void setItem(int roadType, short pVal)
          The preference value for the specified road type.
 

Method Detail

getItem

short getItem(int roadType)
              throws IOException,
                     AutomationException
The preference value for the specified road type.

Product Availability

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

Parameters:
roadType - A com.esri.arcgis.datasourcesfile.esriSMRoadType constant (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItem

void setItem(int roadType,
             short pVal)
             throws IOException,
                    AutomationException
The preference value for the specified road type.

Product Availability

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

Parameters:
roadType - A com.esri.arcgis.datasourcesfile.esriSMRoadType constant (in)
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.