This documentation is archived and is not being maintained.

DynamicDataRoute.Action Property

Gets or sets the name of an action for a route.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public string Action { get; set; }

Property Value

Type: System.String
The action name for a route.

For a list of possible action names, see System.Web.DynamicData.PageAction. If you do not set this property when you create an instance of DynamicDataRoute, the route will apply to all actions.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1