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


INACandidateFieldMap.CandidateFieldNames Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INACandidateFieldMap.CandidateFieldNames Property

CandidateFieldNames for the field.

[Visual Basic .NET]
Public Property CandidateFieldNames As IStringArray
[C#]
public IStringArray CandidateFieldNames {get; set;}
[C++]
HRESULT get_CandidateFieldNames(
  IStringArray** ppCandidateFieldNames
);
[C++]
HRESULT putref_CandidateFieldNames(
  IStringArray* ppCandidateFieldNames
);
[C++]

Parameters ppCandidateFieldNames [out, retval]
ppCandidateFieldNames is a parameter of type IStringArray** ppCandidateFieldNames [in]
ppCandidateFieldNames is a parameter of type IStringArray*

Product Availability

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

Remarks

The CandidateFieldNames specifies the possible field names to try to match with the input cursor.  If the input cursor has a field with a name in the CandidateFieldNames, it uses the value from this field on the input feature to set the network location's field specified by FieldName

If a candidate field name matches one of the input cursor's fields, the feature's field value overrides the DefaultValue unless the value is NULL in which case it uses the DefaultValue.

See Also

INACandidateFieldMap Interface