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 實例時未設定此屬性,路由將會套用至所有動作。

適用於