ArcObjects Library Reference (GeoDatabase)  

INetworkSourceDirections.AdminAreaFieldName Property

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

Product Availability

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

Remarks

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.

See Also

INetworkSourceDirections Interface