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


INetworkEvaluator2.RequiredFieldNames Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkEvaluator2.RequiredFieldNames Property

Required fields of this network evaluator.

[Visual Basic .NET]
Public ReadOnly Property RequiredFieldNames As IStringArray
[C#]
public IStringArray RequiredFieldNames {get;}
[C++]
HRESULT get_RequiredFieldNames(
  IStringArray** fieldNames
);
[C++]

Parameters fieldNames [out, retval]
fieldNames is a parameter of type IStringArray

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

RequiredFieldNames returns the field names that the evaluator requires in order to correctly evaluate the row.  This property is used to minimize the data that is returned by the query to the database by only returning the required fields.  Return a NULL pointer if you want it to include all the field names in the query. 

See Also

INetworkEvaluator2 Interface