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


IRelQueryTableName.ForwardDirection Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  VARIANT_BOOL forward
);
[C++]

Parameters forward [out, retval] forward is a parameter of type VARIANT_BOOL forward [in] forward is a parameter of type VARIANT_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