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


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

IRelQueryTableName.ForwardDirection Property

Indicates if the originPrimaryClass of the RelationshipClass is the SourceTable.

[Visual Basic .NET]
Public Property ForwardDirection As Boolean
[C#]
public bool ForwardDirection {get; set;}
[C++]
HRESULT get_ForwardDirection(
  VARIANT_BOOL forward
);
[C++]
HRESULT put_ForwardDirection(
  Boolean* forward
);
[C++]
Parameters
forward [in]

forward is a parameter of type bool forward [out, retval]
forward is a parameter of type bool*

Product Availability

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

Remarks

If ForwardDirection is True, the origin table in the RelationshipClassName is the source in the RelQueryTable, otherwise the destination table in the RelationshipClassName becomes the source. If the cardinality is many to one, you can define your relationship as one-to-many and set this parameter to false in order to make the many side the source. It's necessary to do this to get every joined row, since you can't set the cardinality to many-to-one for a RelationshipClass.

See Also

IRelQueryTableName Interface