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


INAClassFieldMap.FieldName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClassFieldMap Interface > INAClassFieldMap.FieldName Property
ArcGIS Developer Help

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,
  System.String* 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