MetaTable.GetActionPath メソッド

定義

指定した行のアクション パスを取得します。

オーバーロード

名前 説明
GetActionPath(String, Object, String)

アクションの名前とアクションの仮想パスを使用して、指定された行のアクション パスを返します。

GetActionPath(String)

現在のテーブルと指定したアクションのアクション パスを返します。

GetActionPath(String, IList<Object>)

現在のテーブル、指定したアクション、および指定した主キーのアクション パスを返します。

GetActionPath(String, Object)

アクションの名前を使用して、指定した行のアクション パスを返します。

GetActionPath(String, RouteValueDictionary)

現在のテーブルのアクション パスと、指定したアクションとルートのアクション パスを返します。

GetActionPath(String, IList<Object>, String)

指定した主キーと仮想パスに基づいて、アクション パスにクエリ文字列を追加します。

注釈

アクション パスは、特定のエンティティのアクションの URL です。 詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

GetActionPath(String, Object, String)

アクションの名前とアクションの仮想パスを使用して、指定された行のアクション パスを返します。

public:
 System::String ^ GetActionPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public:
 virtual System::String ^ GetActionPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public string GetActionPath(string action, object row, string path);
member this.GetActionPath : string * obj * string -> string
abstract member GetActionPath : string * obj * string -> string
override this.GetActionPath : string * obj * string -> string
Public Function GetActionPath (action As String, row As Object, path As String) As String

パラメーター

action
String

アクションの名前。

row
Object

アクション パスの行を含むオブジェクト。

path
String

アクションの仮想パス。

返品

指定した行のアクション パス。

注釈

アクション パスは、特定のエンティティのアクションの URL です。 詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

適用対象

GetActionPath(String)

現在のテーブルと指定したアクションのアクション パスを返します。

public:
 System::String ^ GetActionPath(System::String ^ action);
public:
 virtual System::String ^ GetActionPath(System::String ^ action);
public string GetActionPath(string action);
member this.GetActionPath : string -> string
abstract member GetActionPath : string -> string
override this.GetActionPath : string -> string
Public Function GetActionPath (action As String) As String

パラメーター

action
String

アクションの名前。

返品

指定したアクションのアクション パス。

アクション パスは、特定のエンティティのアクションの URL です。 詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

適用対象

GetActionPath(String, IList<Object>)

現在のテーブル、指定したアクション、および指定した主キーのアクション パスを返します。

public:
 System::String ^ GetActionPath(System::String ^ action, System::Collections::Generic::IList<System::Object ^> ^ primaryKeyValues);
public:
 virtual System::String ^ GetActionPath(System::String ^ action, System::Collections::Generic::IList<System::Object ^> ^ primaryKeyValues);
public string GetActionPath(string action, System.Collections.Generic.IList<object> primaryKeyValues);
member this.GetActionPath : string * System.Collections.Generic.IList<obj> -> string
abstract member GetActionPath : string * System.Collections.Generic.IList<obj> -> string
override this.GetActionPath : string * System.Collections.Generic.IList<obj> -> string
Public Function GetActionPath (action As String, primaryKeyValues As IList(Of Object)) As String

パラメーター

action
String

アクションの名前。

primaryKeyValues
IList<Object>

主キーを構成する列値の一覧。

返品

指定したアクションと主キーのアクション パス。

注釈

アクション パスは、特定のエンティティのアクションの URL です。 詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

適用対象

GetActionPath(String, Object)

アクションの名前を使用して、指定した行のアクション パスを返します。

public:
 System::String ^ GetActionPath(System::String ^ action, System::Object ^ row);
public:
 virtual System::String ^ GetActionPath(System::String ^ action, System::Object ^ row);
public string GetActionPath(string action, object row);
member this.GetActionPath : string * obj -> string
abstract member GetActionPath : string * obj -> string
override this.GetActionPath : string * obj -> string
Public Function GetActionPath (action As String, row As Object) As String

パラメーター

action
String

アクションの名前。

row
Object

アクション パスを取得する行。

返品

指定した行のアクション パス。

注釈

アクション パスは、特定のエンティティのアクションの URL です。 アクション パスには、クエリ文字列フィルターに使用できる主キーの列名が含まれています。

詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

適用対象

GetActionPath(String, RouteValueDictionary)

現在のテーブルのアクション パスと、指定したアクションとルートのアクション パスを返します。

public:
 System::String ^ GetActionPath(System::String ^ action, System::Web::Routing::RouteValueDictionary ^ routeValues);
public:
 virtual System::String ^ GetActionPath(System::String ^ action, System::Web::Routing::RouteValueDictionary ^ routeValues);
public string GetActionPath(string action, System.Web.Routing.RouteValueDictionary routeValues);
member this.GetActionPath : string * System.Web.Routing.RouteValueDictionary -> string
abstract member GetActionPath : string * System.Web.Routing.RouteValueDictionary -> string
override this.GetActionPath : string * System.Web.Routing.RouteValueDictionary -> string
Public Function GetActionPath (action As String, routeValues As RouteValueDictionary) As String

パラメーター

action
String

アクションの名前。

routeValues
RouteValueDictionary

アクションのルートの一覧。

返品

指定したアクションとルートのアクション パス。

注釈

アクション パスは、特定のエンティティのアクションの URL です。 詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

適用対象

GetActionPath(String, IList<Object>, String)

指定した主キーと仮想パスに基づいて、アクション パスにクエリ文字列を追加します。

public:
 System::String ^ GetActionPath(System::String ^ action, System::Collections::Generic::IList<System::Object ^> ^ primaryKeyValues, System::String ^ path);
public:
 virtual System::String ^ GetActionPath(System::String ^ action, System::Collections::Generic::IList<System::Object ^> ^ primaryKeyValues, System::String ^ path);
public string GetActionPath(string action, System.Collections.Generic.IList<object> primaryKeyValues, string path);
member this.GetActionPath : string * System.Collections.Generic.IList<obj> * string -> string
abstract member GetActionPath : string * System.Collections.Generic.IList<obj> * string -> string
override this.GetActionPath : string * System.Collections.Generic.IList<obj> * string -> string
Public Function GetActionPath (action As String, primaryKeyValues As IList(Of Object), path As String) As String

パラメーター

action
String

アクションの名前。

primaryKeyValues
IList<Object>

主キーを構成する列値の一覧。

path
String

アクションの仮想パス。

返品

クエリ文字列値が追加された、指定した主キーと仮想パスのアクション パス。

注釈

アクション パスは、特定のエンティティのアクションの URL です。 詳細については、 System.Web.DynamicData.PageAction クラスの概要を参照してください。

適用対象