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


IRelationResult.SetRelationElements Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRelationResult Interface > IRelationResult.SetRelationElements Method
ArcGIS Developer Help

IRelationResult.SetRelationElements Method

Sets RelationResult with an array of relations.

[Visual Basic .NET]
Public Sub SetRelationElements ( _
    ByVal cPairs As Integer, _
    ByRef Pairs As esriRelationPair _
)
[C#]
public void SetRelationElements (
    int cPairs,
    ref esriRelationPair Pairs
);
[C++]
HRESULT SetRelationElements(
  long cPairs,
  esriRelationPair* Pairs
);
[C++]
Parameters
cPairs 

cPairs is a parameter of type long Pairs
Pairs is a parameter of type esriRelationPair*

Product Availability

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

See Also

IRelationResult Interface