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


IRelationshipClass2.GetObjectsMatchingObjectSetEx Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRelationshipClass2.GetObjectsMatchingObjectSetEx Method

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

[Visual Basic .NET]
Public Function GetObjectsMatchingObjectSetEx ( _
    ByVal srcObjectSet As ISet, _
    ByVal queryFilterAppliedToMatchingObjects As IQueryFilter, _
    ByVal returnAllObjectMatches As Boolean _
) As IRelClassEnumRowPairs
[C#]
public IRelClassEnumRowPairs GetObjectsMatchingObjectSetEx (
    ISet srcObjectSet,
    IQueryFilter queryFilterAppliedToMatchingObjects,
    bool returnAllObjectMatches
);
[C++]
HRESULT GetObjectsMatchingObjectSetEx(
  ISet* srcObjectSet,
  IQueryFilter* queryFilterAppliedToMatchingObjects,
  VARIANT_BOOL returnAllObjectMatches,
  IRelClassEnumRowPairs** matchedPairRows
);
[C++]

Parameters srcObjectSet [in]
srcObjectSet is a parameter of type ISet queryFilterAppliedToMatchingObjects [in]
queryFilterAppliedToMatchingObjects is a parameter of type IQueryFilter returnAllObjectMatches [in] returnAllObjectMatches is a parameter of type VARIANT_BOOL matchedPairRows [out, retval]
matchedPairRows is a parameter of type IRelClassEnumRowPairs

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