Skip to main content
A newer version of this page is available. .

IRelationListEx.GetRelationCount(Int32) Method

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

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v19.2.dll

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