ArcObjects Library Reference (Location)  

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
[C#]
public IEnumBSTR CreateUsing2Fields (
    string fmFieldName,
    string tmFieldName,
    IFeatureClassName outputFClassName,
    IGeometryDef outputGeometryDef,
    string configKeyword,
    ITrackCancel trackCancel
);
[C++]
HRESULT CreateUsing2Fields(
  BSTR fmFieldName,
  BSTR tmFieldName,
  IFeatureClassName* outputFClassName,
  IGeometryDef* outputGeometryDef,
  BSTR configKeyword,
  ITrackCancel* trackCancel,
  IEnumBSTR** enumError
);
[C++]

Parameters

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

enumError [out, retval]

  enumError is a parameter of type IEnumBSTR

Product Availability

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

Remarks

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