Skip to main content

IRelationListEx.GetRelationCount(Int32) Method

When implemented by a class, returns the number of relationships for a master row.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

int GetRelationCount(
    int index
)

Parameters

Name Type Description
index Int32

An integer value that specifies the master row.

Returns

Type Description
Int32

An integer value that specifies the number of relationships for a master row.

Remarks

The method returns the number of relationships for the currently processed row, identified by this method’s index parameter. It’s possible to provide a different number of relationships for different master rows.

See Also