Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SmartPrintRulesCollection Class / IndexOf Method / IndexOf(Object) Method
Object for which to return the index
Example


In This Topic
    IndexOf(Object) Method
    In This Topic
    Returns the index of the specified rule (SmartPrintRule object).
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal value As Object _
    ) As Integer
    'Usage
     
    
    Dim instance As SmartPrintRulesCollection
    Dim value As Object
    Dim value As Integer
     
    value = instance.IndexOf(value)
    public int IndexOf( 
       object value
    )

    Parameters

    value
    Object for which to return the index
    Example
    This example returns the current rule in the enumerator.
    See Also