com.esri.arcgis.arcmapui
Interface IRelateData2

All Superinterfaces:
Serializable
All Known Implementing Classes:
RelateData

public interface IRelateData2
extends Serializable

Provides access to members that join a feature class or a table to a layer/standalone table in ArcMap.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IRelationshipClass doModal(int parentWindow)
          Shows modal window.
 void setApplicationByRef(Object rhs1)
          The application to which this window belongs (Optional).
 void setLayerByRef(ILayer rhs1)
          Primary layer to relate from (removes standalone table setting).
 void setRelateOriginByRef(Object rhs1)
          Primary layer to join from.
 void setStandaloneTableByRef(IStandaloneTable rhs1)
          Primary table to relate from (removes layer setting).
 

Method Detail

setRelateOriginByRef

void setRelateOriginByRef(Object rhs1)
                          throws IOException,
                                 AutomationException
Primary layer to join from.

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

IRelationshipClass doModal(int parentWindow)
                           throws IOException,
                                  AutomationException
Shows modal window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
parentWindow - The parentWindow (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplicationByRef

void setApplicationByRef(Object rhs1)
                         throws IOException,
                                AutomationException
The application to which this window belongs (Optional).

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

void setLayerByRef(ILayer rhs1)
                   throws IOException,
                          AutomationException
Primary layer to relate from (removes standalone table setting).

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStandaloneTableByRef

void setStandaloneTableByRef(IStandaloneTable rhs1)
                             throws IOException,
                                    AutomationException
Primary table to relate from (removes layer setting).

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IStandaloneTable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.