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


ISMRoadPreferences.Item Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ISMRoadPreferences.Item Property

The preference value for the specified road type.

[Visual Basic .NET]
Public Function get_Item ( _
    ByVal RoadType As esriSMRoadType _
) As Short
[Visual Basic .NET]
Public Sub set_Item ( _
    ByVal RoadType As esriSMRoadType, _
    ByVal pVal As Short _
)
[C#]
public short get_Item (
    esriSMRoadType RoadType
);
[C#]
public void set_Item (
    esriSMRoadType RoadType,
    short pVal
);
[C++]
HRESULT get_Item(
void
);
[C++]
HRESULT put_Item(
);

Product Availability

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

Description

Retrieves preferences for the road type specified.

Remarks

Method Item retrieves or sets the preference value for specified road type. Preference value can range from 0 to 100, and greater value indicates higher preference of the road type.

See Also

ISMRoadPreferences Interface