MetaForeignKeyColumn.GetForeignKeyPath メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した外部キー フィールドの親テーブルの指定したアクション ページのパスを取得します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetForeignKeyPath(String, Object) |
指定した外部キー フィールドの親テーブルの指定したアクション ページのパスを取得します。 |
| GetForeignKeyPath(String, Object, String) |
指定した外部キー フィールドの親テーブルの指定したアクション ページのパスを取得します。 |
GetForeignKeyPath(String, Object)
指定した外部キー フィールドの親テーブルの指定したアクション ページのパスを取得します。
public:
System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row);
public:
virtual System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row);
public string GetForeignKeyPath(string action, object row);
member this.GetForeignKeyPath : string * obj -> string
abstract member GetForeignKeyPath : string * obj -> string
override this.GetForeignKeyPath : string * obj -> string
Public Function GetForeignKeyPath (action As String, row As Object) As String
パラメーター
- action
- String
ターゲット アクション。
- row
- Object
外部キー フィールドを含む行。
返品
指定した外部キー フィールドの親テーブルの指定したアクション ページのパス。
注釈
GetForeignKeyPath(String, Object) メソッドは、ASP.NET 動的データ アプリケーションに対して定義されたルートに基づいて、指定したアクション ページのパスを返します。
rowがnull場合、このメソッドは空の文字列を返します。
action パラメーターには、PageAction クラスで定義されている値を使用できます。
こちらもご覧ください
適用対象
GetForeignKeyPath(String, Object, String)
指定した外部キー フィールドの親テーブルの指定したアクション ページのパスを取得します。
public:
System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public:
virtual System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public string GetForeignKeyPath(string action, object row, string path);
member this.GetForeignKeyPath : string * obj * string -> string
abstract member GetForeignKeyPath : string * obj * string -> string
override this.GetForeignKeyPath : string * obj * string -> string
Public Function GetForeignKeyPath (action As String, row As Object, path As String) As String
パラメーター
- action
- String
ターゲット アクション。
- row
- Object
外部キー フィールドを含む行。
- path
- String
ターゲット ページ。
返品
指定した外部キー フィールドの親テーブルの指定したアクション ページのパス。
注釈
GetForeignKeyPath(String, Object) メソッドは、指定したpathに基づいて、指定したアクション ページのパスを返します。
rowがnull場合、このメソッドは空の文字列を返します。
action パラメーターには、PageAction クラスで定義されている値を使用できます。