MetaForeignKeyColumn.GetForeignKeyPath Méthode

Définition

Obtient le chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

Surcharges

Nom Description
GetForeignKeyPath(String, Object)

Obtient le chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

GetForeignKeyPath(String, Object, String)

Obtient le chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

GetForeignKeyPath(String, Object)

Obtient le chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

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

Paramètres

action
String

Action cible.

row
Object

Ligne qui contient le champ de clé étrangère.

Retours

Chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

Remarques

La méthode GetForeignKeyPath(String, Object) retourne le chemin d’accès de la page d’action spécifiée en fonction des itinéraires définis pour l’application de données dynamiques ASP.NET. Cette méthode retourne une chaîne vide, le cas échéant rownull.

Vous pouvez utiliser les valeurs définies dans la PageAction classe pour le action paramètre.

Voir aussi

S’applique à

GetForeignKeyPath(String, Object, String)

Obtient le chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

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

Paramètres

action
String

Action cible.

row
Object

Ligne qui contient le champ de clé étrangère.

path
String

Page cible.

Retours

Chemin d’accès de la page d’action spécifiée de la table parente du champ de clé étrangère spécifiée.

Remarques

La GetForeignKeyPath(String, Object) méthode retourne le chemin d’accès de la page d’action spécifiée en fonction de l’élément spécifié path. Cette méthode retourne une chaîne vide, le cas échéant rownull.

Vous pouvez utiliser les valeurs définies dans la PageAction classe pour le action paramètre.

Voir aussi

S’applique à