Share via


MetaChildrenColumn.GetChildrenPath Méthode

Définition

Obtient le chemin d'accès à la page d'action spécifiée de la table enfant.

Surcharges

GetChildrenPath(String, Object)

Obtient le chemin d'accès à la page d'action spécifiée de la table enfant.

GetChildrenPath(String, Object, String)

Obtient le chemin d'accès à la page d'action spécifiée de la table enfant.

GetChildrenPath(String, Object)

Obtient le chemin d'accès à la page d'action spécifiée de la table enfant.

public:
 System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row);
public:
 virtual System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row);
public string GetChildrenPath (string action, object row);
member this.GetChildrenPath : string * obj -> string
abstract member GetChildrenPath : string * obj -> string
override this.GetChildrenPath : string * obj -> string
Public Function GetChildrenPath (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

String

Chemin d'accès à la page d'action spécifiée de la table enfant.

Remarques

La GetChildrenPath(String, Object) méthode retourne le chemin d’accès de la page d’action spécifiée pour la table enfant. le chemin d’accès retourné est basé sur les itinéraires définis pour l’application ASP.NET Dynamic Data et possède la ligne spécifiée comme parent. Le chemin d’accès est obtenu en ajoutant une valeur de chaîne de requête à l’URL qui contient la valeur de champ de clé étrangère spécifiée dans le row paramètre.

Si row a null la valeur, cette méthode retourne une chaîne vide.

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

Voir aussi

S’applique à

GetChildrenPath(String, Object, String)

Obtient le chemin d'accès à la page d'action spécifiée de la table enfant.

public:
 System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public:
 virtual System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public string GetChildrenPath (string action, object row, string path);
member this.GetChildrenPath : string * obj * string -> string
abstract member GetChildrenPath : string * obj * string -> string
override this.GetChildrenPath : string * obj * string -> string
Public Function GetChildrenPath (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

String

Chemin d'accès à la page d'action spécifiée de la table enfant.

Remarques

La GetChildrenPath(String, Object, String) méthode retourne le chemin d’accès de la page d’action spécifiée pour la table enfant. Le chemin d’accès est basé sur le chemin d’accès spécifié avec la ligne spécifiée comme parent. Le chemin d’accès est obtenu en ajoutant une valeur de chaîne de requête à l’URL qui contient la valeur de champ de clé étrangère spécifiée dans le row paramètre.

Si row a null la valeur, cette méthode retourne une chaîne vide. si path a la valeur null , la GetChildrenPath(String, Object, String) méthode retourne le chemin d’accès en fonction des itinéraires définis pour l’application ASP.NET Dynamic Data.

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

Voir aussi

S’applique à