Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SmartPrintRulesCollection Class / Insert Method / Insert(Int32,SmartPrintRule) Method
Index at which to insert the rule (SmartPrintRule object)
Rule (SmartPrintRule object) to insert
Example


In This Topic
    Insert(Int32,SmartPrintRule) Method
    In This Topic
    Inserts a rule (SmartPrintRule object) into the collection at the specified index.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Insert( _
       ByVal index As Integer, _
       ByVal value As SmartPrintRule _
    ) 
    'Usage
     
    
    Dim instance As SmartPrintRulesCollection
    Dim index As Integer
    Dim value As SmartPrintRule
     
    instance.Insert(index, value)
    public void Insert( 
       int index,
       SmartPrintRule value
    )

    Parameters

    index
    Index at which to insert the rule (SmartPrintRule object)
    value
    Rule (SmartPrintRule object) to insert
    Example
    This example returns the location of the inserted rule.
    See Also