ArcGIS API for WPF - Library Reference
Barriers Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > RouteEventArgs Class : Barriers Property

Barriers are returned only if BaseRouteParameters.ReturnBarriers was set to true (which is not the default). If you send in the barriers as a featureSet (instead of using DataLayer), you already have the barriers and might not need to request them back from the server.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Barriers As Graphic()
C# 
public Graphic[] Barriers {get;}

Property Value

The barriers.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.