This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClass2 Interface > IRelationshipClass2.GetObjectsMatchingObjectArray Method (ArcObjects .NET 10.4 SDK) |
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,
IRelClassEnumRowPairs** matchedPairRows
);
[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 VARIANT_BOOL matchedPairRows [out, retval]
matchedPairRows is a parameter of type IRelClassEnumRowPairs
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.