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


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

    Parameters

    value
    Rule (SmartPrintRule object) for which to return the index
    Example
    This example returns the current rule in the enumerator.
    See Also