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


IRelationshipClass.DestinationForeignKey Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClass Interface > IRelationshipClass.DestinationForeignKey Property
ArcGIS Developer Help

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(
  System.String* 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