This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INACandidateFieldMap Interface > INACandidateFieldMap.CandidateFieldNames Property (ArcObjects .NET 10.4 SDK) |
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
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.