This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClassDefinition Interface > INAClassDefinition.CandidateFieldNames Property (ArcObjects .NET 10.4 SDK) |
The field names that will be used by default for the network analyst class.
[Visual Basic .NET] Public Function get_CandidateFieldNames ( _ ByVal FieldName As String _ ) As IStringArray
[C#] public IStringArray get_CandidateFieldNames ( string FieldName );
[C++]
HRESULT get_CandidateFieldNames(
BSTR FieldName,
IStringArray** fieldNames
);
[C++]
Parameters FieldName [in] FieldName is a parameter of type BSTR fieldNames [out, retval]
fieldNames is a parameter of type IStringArray
CandidateFieldNames returns an IStringArray that contains an array of field names that are used to provide hints to the NAClassFieldMap for how to map input fields to fields on the NAClass.
CandidateFieldNames will be populated with default values if this is the NAClassDefinition from a NAContext that was created with INASolver.CreateContext or had ContextChanged called on it. For more information, see the help for NAClassDefinition.
You can set the CandidateFieldNames on the INAClassDefinitionEdit interface.