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


INASolverSettings.IgnoreInvalidLocations Property (ArcObjects .NET 10.5 SDK)
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

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Location-allocation solver (Code Files: frmLocationAllocationSolver)