|  | This document is archived and information here might be outdated. Recommended version. | 
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*