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


INAClosestFacilitySolver.DefaultCutoff Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAClosestFacilitySolver.DefaultCutoff Property

The default cutoff value to stop traversing.

[Visual Basic .NET]
Public Property DefaultCutoff As Object
[C#]
public object DefaultCutoff {get; set;}
[C++]
HRESULT get_DefaultCutoff(
  VARIANT* Value
);
[C++]
HRESULT put_DefaultCutoff(
  VARIANT Value
);
[C++]

Parameters Value [out, retval] Value is a parameter of type VARIANT Value [in] Value is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

DefaultCutoff specifies how far to search for facilities from each incident. Setting a default cutoff of 10 miles will only return those facilities within 10 miles from each incident. This property sets and gets the cutoff value for the NAClosestFacilitySolver.

DefaultCutoff is considered �default� because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the Cutoff_<attribute name> field of an individual feature.

DefaultCutoff, if not NULL, can be cast as a double.  It is returned as an object/variant in order to allow a NULL to be used to specify no default cutoff value.  A DefaultCutoff of zero indicates a search distance of zero.  A DefaultCutoff of NULL indicates an unlimited search distance.

See Also

INAClosestFacilitySolver Interface

.NET Snippets

Statements - Set Closest Facility Properties | Set Closest Facility Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)