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


IRouteLayerExtension.SetRouteIDFieldName Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Location)  

IRouteLayerExtension.SetRouteIDFieldName Method

Set the route id field name.

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

Parameters 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.

Remarks

This sets the RouteIDFieldName for the route layer. 

See Also

IRouteLayerExtension Interface | IRouteLayerExtension Interface | IRouteLocatorName Interface