ArcGIS API for Silverlight - Library Reference
RestrictionAttributes Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > BaseRouteParameters Class : RestrictionAttributes Property

The list of network attribute names to be used as restrictions with the analysis. The default is as defined in the specific routing network layer used in your RouteTask. Possible values are listed in the Service Directory under "Network Dataset -> Network Attributes". You can also specify a value of "none" to indicate that no network attributes should be used as restrictions. If you specify an empty array, it will default to the default of the service.

Syntax

Visual Basic (Declaration) 
Public Property RestrictionAttributes As String()
C# 
public string[] RestrictionAttributes {get; set;}

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.