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


In This Topic
    Insert(Int32,Object) 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 Object _
    ) 
    'Usage
     
    Dim instance As SmartPrintRulesCollection
    Dim index As Integer
    Dim value As Object
     
    instance.Insert(index, value)
    public void Insert( 
       int index,
       object value
    )

    Parameters

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