Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetChildRelation Method
Index of the child data relation
Example


In This Topic
    GetChildRelation Method (DefaultSheetDataModel)
    In This Topic
    Gets the name of the child data relation at the specified position.
    Syntax
    'Declaration
     
    
    Public Function GetChildRelation( _
       ByVal index As Integer _
    ) As String
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim index As Integer
    Dim value As String
     
    value = instance.GetChildRelation(index)
    public string GetChildRelation( 
       int index
    )

    Parameters

    index
    Index of the child data relation

    Return Value

    String containing the name of the relation
    Example
    This example returns the value of the first relation for the child model.
    See Also