Share via


DynamicDataRoute.Action 属性

定义

获取或设置路由的操作名称。

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

属性值

路由的操作名称。

注解

有关可能的操作名称的列表,请参阅 System.Web.DynamicData.PageAction。 如果在创建 实例 DynamicDataRoute时未设置此属性,路由将应用于所有操作。

适用于