Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / GroupInfoCollection Class / IndexOf Method
GroupInfo object for which to search
Example


In This Topic
    IndexOf Method (GroupInfoCollection)
    In This Topic
    Returns the index of the specified GroupInfo object in the collection.
    Syntax
    'Declaration
     
    Public Overridable Function IndexOf( _
       ByVal value As GroupInfo _
    ) As Integer
    'Usage
     
    Dim instance As GroupInfoCollection
    Dim value As GroupInfo
    Dim value As Integer
     
    value = instance.IndexOf(value)
    public virtual int IndexOf( 
       GroupInfo value
    )

    Parameters

    value
    GroupInfo object for which to search

    Return Value

    Integer of the index
    Example
    This example removes a group item if it belongs to the collection.
    See Also