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 参照してください。

適用対象