IRelationListEx.GetRelationCount(Int32) Method

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

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v20.2.dll

Declaration

int GetRelationCount(
    int index
)
Function GetRelationCount(
    index As Integer
) As Integer

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