ArcObjects Library Reference (NetworkAnalyst)  

INAClassFieldMap.FieldName Property

The mapping for the given index.

[Visual Basic .NET]
Public Function get_FieldName ( _
    ByVal Index As Integer _
) As String
[C#]
public string get_FieldName (
    int Index
);
[C++]
HRESULT get_FieldName(
  long Index,
  BSTR* Name
);
[C++]

Parameters

Index [in]   Index is a parameter of type long Name [out, retval]   Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The FieldName method provides indexed access to all mapped field names.  The string value that is returned corresponds to the name of the field in the input feature class that you plan on loading from with INAClassLoader::Load.  Use INAClassFieldMap::MappedField’s ‘get’ method to determine the NAClass field that is matched with the FieldName.

See Also

INAClassFieldMap Interface