ComponentOne DataObjects for .NET
GetChildRows(String) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataRow Class > GetChildRows Method : GetChildRows(String) Method
The name of the relation to use.
Gets the child rows of this C1DataRow using the specified relation.
Syntax
'Declaration
 
Public Overloads Function GetChildRows( _
   ByVal relationName As System.String _
) As C1DataRow()
public C1DataRow[] GetChildRows( 
   System.string relationName
)

Parameters

relationName
The name of the relation to use.

Return Value

An array of C1DataRow objects (or a zero-length array).
Remarks
The overload without parameters can be used when the parent and the child are connected with a single relation.
See Also

Reference

C1DataRow Class
C1DataRow Members
Overload List
C1DataRow Class