This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IR > IRouteMeasureCreator Interface > IRouteMeasureCreator.CreateUsing2Fields Method (ArcObjects .NET 10.5 SDK) |
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
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.
IRouteMeasureCreator Interface | IRouteMeasureCreator Interface | IFeatureClassName Interface | IGeometryDef Interface