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


IRelationshipClass2.GetObjectsMatchingObjectArray Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClass2 Interface > IRelationshipClass2.GetObjectsMatchingObjectArray Method
ArcGIS Developer Help

IRelationshipClass2.GetObjectsMatchingObjectArray Method

Gets rows pairs of objects that are related to the specified origin or destination object array, that also meet the query filter expression.

[Visual Basic .NET]
Public Function GetObjectsMatchingObjectArray ( _
    ByVal srcObjectArray As IArray, _
    ByVal queryFilterAppliedToMatchingObjects As IQueryFilter, _
    ByVal returnAllObjectMatches As Boolean _
) As IRelClassEnumRowPairs
[C#]
public IRelClassEnumRowPairs GetObjectsMatchingObjectArray (
    IArray srcObjectArray,
    IQueryFilter queryFilterAppliedToMatchingObjects,
    bool returnAllObjectMatches
);
[C++]
HRESULT GetObjectsMatchingObjectArray(
  IArray* srcObjectArray,
  IQueryFilter* queryFilterAppliedToMatchingObjects,
  VARIANT_BOOL returnAllObjectMatches
);
[C++]
Parameters
srcObjectArray [in]

srcObjectArray is a parameter of type IArray* queryFilterAppliedToMatchingObjects [in]
queryFilterAppliedToMatchingObjects is a parameter of type IQueryFilter* returnAllObjectMatches [in]
returnAllObjectMatches is a parameter of type bool

Product Availability

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

Remarks

The returnAllObjectMatches parameter indicates whether the first matching object or if all matching objects are returned. A value of True will return all object matches.

See Also

IRelationshipClass2 Interface