ArcObjects Library Reference (NetworkAnalyst)  

INASolverSettings.IgnoreInvalidLocations Property

Indicates if invalid locations should be ignored or raise an error.

[Visual Basic .NET]
Public Property IgnoreInvalidLocations As Boolean
[C#]
public bool IgnoreInvalidLocations {get; set;}
[C++]
HRESULT get_IgnoreInvalidLocations(
  VARIANT_BOOL* IgnoreInvalidLocations
);
[C++]
HRESULT put_IgnoreInvalidLocations(
  VARIANT_BOOL IgnoreInvalidLocations
);
[C++]

Parameters

IgnoreInvalidLocations [out, retval]   IgnoreInvalidLocations is a parameter of type VARIANT_BOOL IgnoreInvalidLocations [in]   IgnoreInvalidLocations is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

IgnoreInvalidLocations indicates if the network analyst solver should ignore locations that have not snapped to a network edge.

See Also

INASolverSettings Interface

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Network Analyst Engine application (Code Files: frmNALayerProperties) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) |