ComponentOne GridView for ASP.NET WebForms
C1.Web.Wijmo.Controls.4 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / MasterDetailRelationCollection Class / IndexOf Method
The MasterDetailRelation to locate.

In This Topic
    IndexOf Method (MasterDetailRelationCollection)
    In This Topic
    Determines the index of the specified MasterDetailRelation object in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal value As MasterDetailRelation _
    ) As System.Integer
    public System.int IndexOf( 
       MasterDetailRelation value
    )

    Parameters

    value
    The MasterDetailRelation to locate.

    Return Value

    The index of the value parameter, if it is found in the collection; otherwise, -1.
    See Also