ArcGIS Runtime SDK for WPF - Library Reference
RestrictionAttributes Property
See Also 
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, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.