DynamicDataRoute.Action 属性
定义
获取或设置路由的操作名称。Gets or sets the name of an action for a route.
public:
property System::String ^ Action { System::String ^ get(); void set(System::String ^ value); };
public string Action { get; set; }
member this.Action : string with get, set
Public Property Action As String
属性值
路由的操作名称。The action name for a route.
注解
有关可能的操作名称的列表,请参阅 System.Web.DynamicData.PageAction 。For a list of possible action names, see System.Web.DynamicData.PageAction. 如果在创建实例时未设置此属性 DynamicDataRoute ,则该路由将应用于所有操作。If you do not set this property when you create an instance of DynamicDataRoute, the route will apply to all actions.