Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SmartPrintRulesCollection Class / CopyTo Method / CopyTo(Array,Int32) Method
Array to which to paste the rules (SmartPrintRule objects)
Index in the array at which to paste the rules
Example


In This Topic
    CopyTo(Array,Int32) Method
    In This Topic
    Copies the rules (SmartPrintRule objects) in the collection to the specified array.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array As Array, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As SmartPrintRulesCollection
    Dim array As Array
    Dim index As Integer
     
    instance.CopyTo(array, index)
    public void CopyTo( 
       Array array,
       int index
    )

    Parameters

    array
    Array to which to paste the rules (SmartPrintRule objects)
    index
    Index in the array at which to paste the rules
    Example
    This example copies the rule to the array.
    See Also