Share via


DataServiceContext.GetLinkDescriptor(Object, String, Object) Méthode

Définition

Obtient le LinkDescriptor pour un lien spécifique qui définit la relation entre deux entités.

public:
 System::Data::Services::Client::LinkDescriptor ^ GetLinkDescriptor(System::Object ^ source, System::String ^ sourceProperty, System::Object ^ target);
public System.Data.Services.Client.LinkDescriptor GetLinkDescriptor (object source, string sourceProperty, object target);
member this.GetLinkDescriptor : obj * string * obj -> System.Data.Services.Client.LinkDescriptor
Public Function GetLinkDescriptor (source As Object, sourceProperty As String, target As Object) As LinkDescriptor

Paramètres

source
Object

Objet source dans le lien.

sourceProperty
String

Nom de la propriété de navigation sur l'objet source qui retourne l'objet associé.

target
Object

Entité associée.

Retours

Instance LinkDescriptor pour la relation spécifiée ou null s'il n'existe pas de LinkDescriptor pour la relation.

S’applique à