FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / ValidationRuleCollection Class / CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from ValidationRuleCollection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.

In This Topic
    CopyTo Method (ValidationRuleCollection)
    In This Topic
    Copies the elements of the ValidationRuleCollection to an System.Array, starting at a particular System.Array index.
    Syntax
    'Declaration
     
    
    Public Sub CopyTo( _
       ByVal array() As ValidationRule, _
       ByVal arrayIndex As Integer _
    ) 
    public void CopyTo( 
       ValidationRule[] array,
       int arrayIndex
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from ValidationRuleCollection. The System.Array must have zero-based indexing.
    arrayIndex
    The zero-based index in array at which copying begins.
    See Also