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實例時沒有設定這個屬性,該路由將套用到所有動作。

適用於