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

IRouteLayerExtension.SetRouteIDFieldName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IR > IRouteLayerExtension Interface > IRouteLayerExtension.SetRouteIDFieldName Method
ArcGIS Developer Help

IRouteLayerExtension.SetRouteIDFieldName Method

Set the route id field name.

[Visual Basic .NET]
Public Sub SetRouteIDFieldName ( _
    ByVal layer As ILayer, _
    ByVal fieldName As String _
public void SetRouteIDFieldName (
    ILayer layer,
    string fieldName
HRESULT SetRouteIDFieldName(
  ILayer* layer,
  BSTR fieldName
layer [in]

layer is a parameter of type ILayer* fieldName [in]
fieldName is a parameter of type BSTR

Product Availability

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


This sets the RouteIDFieldName for the route layer. 

See Also

IRouteLayerExtension Interface | IRouteLayerExtension Interface | IRouteLocatorName Interface