This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClosestFacilitySolver Interface > INAClosestFacilitySolver.DefaultTargetFacilityCount Property (ArcObjects .NET 10.4 SDK) |
The default number of facilities to find.
[Visual Basic .NET] Public Property DefaultTargetFacilityCount As Integer
[C#] public int DefaultTargetFacilityCount {get; set;}
[C++]
HRESULT get_DefaultTargetFacilityCount(
long* Value
);
[C++]
HRESULT put_DefaultTargetFacilityCount(
long Value
);
[C++]
Parameters Value [out, retval] Value is a parameter of type long Value [in] Value is a parameter of type long
DefaultTargetFacilityCount specifies up to how many facilities to solve for. Solving for 10 facilities will return at the most 10 closest facilities from each incident. This property sets and gets the number of destinations to find for the NAClosestFacilitySolver.
DefaultTargetFacilityCount is considered �default� because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the TargetFacilityCount field of an individual feature.
DefaultTargetFacilityCount defaults to a value of 1.