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


IRelationResult.SetRelationElements Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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