This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRoadPreferences Interface > ISMRoadPreferences.Item Property (ArcObjects .NET 10.4 SDK) |
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(
esriSMRoadType RoadType,
short* pVal
);
[C++]
HRESULT put_Item(
esriSMRoadType RoadType,
short pVal
);
[C++]
Parameters RoadType [in]
RoadType is a parameter of type esriSMRoadType pVal [out, retval] pVal is a parameter of type short RoadType [in]
RoadType is a parameter of type esriSMRoadType pVal [in] pVal is a parameter of type short
Retrieves preferences for the road type specified.
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.