This document is archived and information here might be outdated.  Recommended version.


IRelationshipClass.DestinationForeignKey Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRelationshipClass.DestinationForeignKey Property

The relationship destination foreign Key.

[Visual Basic .NET]
Public ReadOnly Property DestinationForeignKey As String
[C#]
public string DestinationForeignKey {get;}
[C++]
HRESULT get_DestinationForeignKey(
  BSTR* relDestFKey
);
[C++]

Parameters relDestFKey [out, retval] relDestFKey is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The DestinationForeignKey property returns the name of the destination foreign key field.  This property is null except in the case of attributed relationship classes, in which case it is the name of a field in the relationship table. The values in this field reference values in the field designated as the destination primary key.

See Also

IRelationshipClass Interface