This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkSourceDirections Interface > INetworkSourceDirections.AdminAreaFieldName Property (ArcObjects .NET 10.4 SDK) |
The name of the field containing the administrative area information for generating driving directions.
[Visual Basic .NET] Public Property AdminAreaFieldName As String
[C#] public string AdminAreaFieldName {get; set;}
[C++]
HRESULT get_AdminAreaFieldName(
BSTR* Name
);
[C++]
HRESULT put_AdminAreaFieldName(
BSTR Name
);
[C++]
Parameters Name [out, retval] Name is a parameter of type BSTR Name [in] Name is a parameter of type BSTR
The AdminAreaFieldName property takes in a field name pointing to a field that contains information on moving from one region to another. For example, a network source may have a field called "States" that lists which state each feature is in. When directions are generated, this field can be used for indicating when the network analysis result crosses from one region into another.
Only one AdminAreaFieldName can be specified for each network source.