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

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

IRouteMeasureCreator.CreateUsing2Fields Method

Create routes from polylines using two fields.

[Visual Basic .NET]
Public Function CreateUsing2Fields ( _
    ByVal fmFieldName As String, _
    ByVal tmFieldName As String, _
    ByVal outputFClassName As IFeatureClassName, _
    ByVal outputGeometryDef As IGeometryDef, _
    ByVal configKeyword As String, _
    ByVal trackCancel As ITrackCancel _
) As IEnumBSTR
public IEnumBSTR CreateUsing2Fields (
    string fmFieldName,
    string tmFieldName,
    IFeatureClassName outputFClassName,
    IGeometryDef outputGeometryDef,
    string configKeyword,
    ITrackCancel trackCancel
HRESULT CreateUsing2Fields(
  BSTR fmFieldName,
  BSTR tmFieldName,
  IFeatureClassName* outputFClassName,
  IGeometryDef* outputGeometryDef,
  BSTR configKeyword,
  ITrackCancel* trackCancel
fmFieldName [in]

fmFieldName is a parameter of type BSTR tmFieldName [in]
tmFieldName is a parameter of type BSTR outputFClassName [in]
outputFClassName is a parameter of type IFeatureClassName* outputGeometryDef [in]
outputGeometryDef is a parameter of type IGeometryDef* configKeyword [in]
configKeyword is a parameter of type BSTR trackCancel [in]
trackCancel is a parameter of type ITrackCancel*

Product Availability

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


The fmFieldName and tmFieldName parameters passed into this method are the names of the fields in the InputFeatureClass which are used to set the start (from) and the end (to) measure values of that feature.


See Also

IRouteMeasureCreator Interface | IRouteMeasureCreator Interface | IFeatureClassName Interface | IGeometryDef Interface